cosmic-comp/cosmic-comp-config
Paul Daniel Faria f1f9d205be
Make numlock state on boot configurable
Make numlock state on boot configurable

This will expose 3 settings for numlock behavior:
1. Numlock is off on boot (this is the current default behavior)
2. Numlock is on on boot
3. Numlock will restore the state from the last boot

Fixes #369

* Address comments:

Get keyboard after create_seat called rather than returning from
create_seat.
Use constants rather than magic numbers for keypress.
Only save updated modifier state after keypresses are handled/skipped.

* Remove unused import, fold other into existing use block.
2025-02-12 14:35:22 +01:00
..
src Make numlock state on boot configurable 2025-02-12 14:35:22 +01:00
Cargo.toml chore: Update smithay 2024-02-06 15:31:01 +01:00