added xkb

This commit is contained in:
cnst
2024-06-15 19:13:59 +02:00
parent 458d1f9367
commit 17aaa6b681
295 changed files with 83138 additions and 0 deletions

24
nixos/xkb/compat/ledcaps Normal file
View File

@@ -0,0 +1,24 @@
// Use the Caps Lock LED to show either
// Caps Lock, Group, or Shift Lock state.
default partial xkb_compatibility "caps_lock" {
indicator "Caps Lock" {
!allowExplicit;
whichModState= Locked;
modifiers= Lock;
};
};
partial xkb_compatibility "group_lock" {
indicator "Caps Lock" {
modifiers= None;
groups=All-group1;
};
};
partial xkb_compatibility "shift_lock" {
indicator "Caps Lock" {
whichModState= Locked;
modifiers= Shift;
};
};