diff options
| author | kayprish <86522033+kayprish@users.noreply.github.com> | 2026-01-01 03:10:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-31 21:10:40 -0500 |
| commit | 991f30d07ffbdeef8498ca45cf85284b2e85280e (patch) | |
| tree | 75230d63728f0752f1802eeb2e45565deb94ab3e /.github | |
| parent | 2ae39ff4ea20d67e38300a0f5ac5445a3af1c64a (diff) | |
Modify SwitchKeyboardLayout.sh to not require .cache/kb_layout (#901)
* Modify SwitchKeyboardLayout.sh to not require .cache/kb_layout
The bulk of the SwitchKeyboardLayout.sh script has been renamed to
KeyboardLayout.sh, meanwhile its behavior has been changed.
Instead of relying on the file .cache/kb_layout, to check the current
keyboard layout, as well as to toggle it, it now uses hyprctl to query
this information, while making sure that it checks the first non-ignored
keyboard. In this way, it querys from keyboards which it's also in
charge of modifying. The logic from the script is also repurposed in
waybar, just for viewing, so the script was renamed.
* Implement fixes for KeyboardLayout.sh changes
* Remove SwitchKeyboardLayout call from initial-boot.sh
---------
Co-authored-by: Petar Kapriš <kayprish@bonsai.cool>
Co-authored-by: Donald Williams <129223418+dwilliam62@users.noreply.github.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
