Commit graph

41 commits

Author SHA1 Message Date
Ian Douglas Scott
56467755a8 cosmic-comp-config crate, and default input config
This adds a `input-default` setting, which is used for input settings if a
device isn't set in `input-devices`. More awkwardly, it also adds an
`input-touchpad` setting, which is used instead of `input-default` for
touchpad devices, so we can separate mouse and touchpad settings even
though they use the same capability and settings.

This no longer sets the input config, and only reads it. If we add a UI
for per-device config, we'll need some IPC mechanism to list connected
devices. (Assuming cosmic-settings can't use libinput directly for that.)

This moves `InputConfig` and `XkbConfig` to a new `cosmic-comp-config`
crate, so they can be used in `cosmic-settings`.
2023-08-31 13:59:49 -07:00
Ian Douglas Scott
0f5d654535 Use cosmic-config for input configuration; allow dynamic changes 2023-08-31 13:59:49 -07:00
Ian Douglas Scott
75912df270 config: Move input config handling into seperate file 2023-08-31 13:59:49 -07:00
Ian Douglas Scott
a5e7fc4a1a config: Move key binding code to a seperate file 2023-08-31 13:59:49 -07:00
Victoria Brekenfeld
a308997fd4 chore: Update smithay 2023-07-12 18:57:38 +02:00
Victoria Brekenfeld
f5dcd97c42 input: Wire up internal resize action 2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
7bd2db4851 config: Allow KeyPatterns to be printed 2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
997223f20a input: Filter resize mode key combinations 2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
8c52fc6eb1 input: Add resize mode actions 2023-07-06 00:04:34 +02:00
Victoria Brekenfeld
b3401eb18a shell/tiling: semi-working stacking 2023-06-30 15:15:21 +02:00
Ian Douglas Scott
89a5d6adae Ignore caps/num lock in key bindings
I noticed https://github.com/pop-os/cosmic-comp/issues/17 again, but
this time I realized num lock was on. Hopefully this is the only cause
of that issue (and caps lock, but that is easier to notice).

I don't think we would event want either of these states to be part of a
key binding. And `KeyModifiers` doesn't seem to be used anywhere else
this would be relevant. So they can be ignored. This should be more
similar to how keybindings are handled elsewhere.
2023-06-28 17:33:54 -07:00
Victoria Brekenfeld
be918152d5 shell: Implement Workspace Layout 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
7b3ac7fa77 render: Implement workspace transitions 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
adc28eeb93 tiling: Animate and enable/disable hints 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
1a8432395c kms: Handle max bpc property 2023-04-18 19:14:31 +02:00
Victoria Brekenfeld
b53e5cae6e shell/tiling: Make gaps configurable 2023-03-09 19:13:46 +01:00
Victoria Brekenfeld
4bf2c8df79 shell: Make active hint size configurable 2023-03-09 19:13:45 +01:00
Victoria Brekenfeld
35de500c00 chore: update smithay + switch to tracing 2023-02-24 17:43:07 +01:00
Victoria Brekenfeld
5a8840b12e shell: Properly propagate tiling state 2023-01-27 13:26:28 +01:00
Victoria Brekenfeld
5b644b59f7 input: Add SendToWorkspace action 2023-01-24 19:22:00 +01:00
Victoria Brekenfeld
3d31641c98 config: Don't disable all outputs on missing config 2022-12-05 23:36:09 +01:00
Victoria Brekenfeld
b2686424ea seat: Workaround old active outputs on hotplug 2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
bca72a9b0e kms: Correctly apply disabled confs 2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
544acecd2e input: Various new keybindings 2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
644d53c2da tiling: Allow windows to be moved 2022-11-23 16:08:32 +01:00
Victoria Brekenfeld
0c47631d9b shell/tiling: Add option to toggle orientation 2022-11-23 16:08:32 +01:00
Victoria Brekenfeld
00f1b029da wip: New shell logic 2022-11-23 16:08:32 +01:00
Ian Douglas Scott
7b670afc36 Update smithay and wayland-rs
Includes updates for split between `smithay::wayland::output` and
`smithay::output`.
2022-09-09 20:00:00 -07:00
Victoria Brekenfeld
6690e13d54 deps: Update smithay 2022-08-31 13:01:23 +02:00
Quackdoc
1f2e57b2a9 Toggle tiling windows by default 2022-08-10 01:48:17 -04:00
Victoria Brekenfeld
12f1fa146a config: Set click_method for input devices 2022-08-09 09:45:40 +02:00
Victoria Brekenfeld
7708cdc1a2 seat: Use user-provided xkb-config 2022-07-29 14:23:55 +02:00
Victoria Brekenfeld
63b252e47d input: Add screenshotting shortcut 2022-07-20 17:25:55 +02:00
Victoria Brekenfeld
022267c6f6 input: Add keybindings for toggling tiling 2022-07-07 22:45:16 +02:00
Victoria Brekenfeld
43062c1754 debug: Update for egui 0.18 2022-07-04 16:01:06 +02:00
Victoria Brekenfeld
b126dfaf77 shell: Cleanup and don't abstract over layouts anymore 2022-07-04 16:01:06 +02:00
Victoria Brekenfeld
b07ac107b1 chore: Update to newest smithay/calloop 2022-05-12 16:35:36 +02:00
Victoria Brekenfeld
8ccb93d8eb cargo fmt 2022-05-03 13:37:51 +02:00
Victoria Brekenfeld
2890c512df config: Use input device name instead of sysname 2022-04-26 16:54:26 +02:00
Victoria Brekenfeld
83a8b37ee5 config: Correctly deserialize input config 2022-04-26 16:53:12 +02:00
Victoria Brekenfeld
e5cd473a3a config: input device configuration 2022-04-25 23:00:30 +02:00