Arthur Heymans
5529306c67
feat(config): Add directional output selection via separate direction field
...
Add support for directional output selection in the move-to-output action
using a separate `direction` field instead of overloading OutputMatch.
API additions:
- Add Workspace::connector() to get the connector showing a workspace
- Add Connector::connector_in_direction() to find outputs directionally
Implementation:
- Move directional finding logic from toml-config to compositor
- Algorithm uses center-to-center distance with axis-aligned preference
- Add GetWorkspaceConnector and GetConnectorInDirection IPC messages
Configuration changes:
- Add optional `direction` field to move-to-output action
- Either `output` or `direction` must be specified (not both)
- Valid directions: "left", "right", "up", "down"
Example usage:
logo+control+shift+right = { type = "move-to-output", direction = "right" }
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
2025-11-28 13:14:25 +01:00
Sean Day
daafb98336
config: allow disabling window titles
2025-10-16 18:47:08 +02:00
Stipe Kotarac
e570152dde
config: workspace display order
2025-07-26 19:12:00 +02:00
Julian Orth
9c165ab56c
config: allow disabling the primary selection
2025-07-20 11:18:32 +02:00
Julian Orth
08e7e01d0e
config: allow disabling the built-in bar
2025-07-18 10:10:05 +02:00
Julian Orth
9977f9dfdf
config: add Window
2025-05-07 22:41:43 +02:00
Julian Orth
ab095b89cf
config: add Client
2025-05-06 20:51:11 +02:00
Julian Orth
2f9af09795
toml-config: clear named-action reference cycles
2025-05-01 19:14:34 +02:00
Julian Orth
65a66c2e26
tree: allow floats to be pinned
2025-04-24 18:46:20 +02:00
Julian Orth
0c02cb5033
tree: allow showing floating windows above fullscreen
2025-04-22 17:46:25 +02:00
Julian Orth
248eb324a5
config: allow disabling color-management
2025-02-26 16:16:38 +01:00
Julian Orth
e8be15a26c
idle: add a grace period
2025-01-26 12:34:04 +01:00
Julian Orth
ce7488aa86
config: warn on unsafe-op-in-unsafe-fn
2024-10-20 18:07:48 +02:00
Julian Orth
19b07fa7dc
xwayland: allow windows to scale themselves
2024-10-08 11:14:30 +02:00
Julian Orth
d8ee1ac19c
config: make ui dragging configurable
2024-10-02 11:35:07 +02:00
Julian Orth
27f30f8d28
config: send server-side capabilities to config
2024-04-16 17:24:47 +02:00
Julian Orth
b03cdaa4b7
docs: re-organize documentation
2024-04-05 19:24:35 +02:00
Julian Orth
aa296a6aea
config: allow disabling explicit-sync
2024-03-27 18:34:14 +01:00
Julian Orth
fecfd24ba0
config: add move-to-output action
2024-03-17 13:38:01 +01:00
Julian Orth
e24a61bc62
config: add various new functions
2024-03-16 03:39:50 +01:00
Julian Orth
355a9eb240
input: add a default seat
2024-03-15 20:07:33 +01:00
Julian Orth
7eb4510eab
config: add support for status commands
2024-03-07 15:07:06 +01:00
Julian Orth
86e582472d
config: accept FnMut instead of Fn for callbacks
2024-03-06 13:44:15 +01:00
Julian Orth
d4d76c0ef3
config: add async tasks and polling infrastructure
2024-03-06 10:53:29 +01:00
Julian Orth
615acd4847
config: downgrade bincode to 1.3.3
...
This should not have any impact on existing configs since bincode claims
compatibility of the wire format between 1.3.3 and 2.0.0.
2024-02-16 14:12:53 +01:00
Julian Orth
036af4abaa
all: address clippy issues
2023-02-04 14:20:10 +01:00
Julian Orth
9c7299234a
config: allow capturing only selected workspaces
2023-02-04 14:07:55 +01:00
Julian Orth
c6c87bdaa1
backend: add DevicesEnumerated event
2022-11-13 16:53:02 +01:00
Julian Orth
ae991b9038
all: address clippy lints
2022-08-13 17:46:23 +02:00
Julian Orth
0e5b1b5e35
config: add on_idle
2022-07-21 20:25:23 +02:00
Julian Orth
fe80440f38
config: add documentation
2022-05-16 18:21:56 +02:00
Julian Orth
e27cf29693
config: tell the config about drm devices
2022-05-10 16:43:09 +02:00
Julian Orth
7b40b42990
config: implement config reloading
2022-05-02 16:20:25 +02:00
Julian Orth
5f13954dbc
autocommit 2022-04-14 19:52:11 CEST
2022-04-14 19:52:11 +02:00
Julian Orth
6b3316e920
autocommit 2022-04-10 18:26:13 CEST
2022-04-10 18:26:13 +02:00
Julian Orth
21e2216ce5
autocommit 2022-04-08 23:02:38 CEST
2022-04-08 23:02:38 +02:00
Julian Orth
be32036824
autocommit 2022-04-07 17:31:31 CEST
2022-04-07 17:31:31 +02:00
Julian Orth
1d33088dba
autocommit 2022-04-05 21:08:07 CEST
2022-04-05 21:08:07 +02:00
Julian Orth
a3e9f21fc5
autocommit 2022-04-05 18:28:42 CEST
2022-04-05 18:28:42 +02:00
Julian Orth
2dd433aa04
autocommit 2022-04-01 01:44:10 CEST
2022-04-01 01:44:10 +02:00
Julian Orth
ab4ac883ee
autocommit 2022-03-30 22:27:19 CEST
2022-03-30 22:27:19 +02:00
Julian Orth
a8136ed88c
autocommit 2022-03-30 18:10:37 CEST
2022-03-30 18:10:37 +02:00
Julian Orth
3b1b843821
autocommit 2022-03-24 18:27:42 CET
2022-03-24 18:27:42 +01:00
Julian Orth
18806a38fb
autocommit 2022-03-13 23:16:26 CET
2022-03-13 23:16:26 +01:00
Julian Orth
a15a02a95c
autocommit 2022-03-13 22:20:31 CET
2022-03-13 22:20:31 +01:00