diff options
author | Benno Schulenberg <bensberg@telfort.nl> | 2022-07-04 16:10:22 +0200 |
---|---|---|
committer | Benno Schulenberg <bensberg@telfort.nl> | 2022-07-04 16:13:11 +0200 |
commit | 8554eb047ed608aeb8228b10db5a80cd55a87048 (patch) | |
tree | 769847ff08b2a4953069865d34cc7f11ba11fedb /symbols/group | |
parent | dbfd7fc829fd14b553affce8d75f0cc2353e0dd4 (diff) | |
download | xkeyboard-config-8554eb047ed608aeb8228b10db5a80cd55a87048.tar.gz |
move two group options to the file where they belong
Having these two group options located in a different file from all
the others was needlessly confusing.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Diffstat (limited to 'symbols/group')
-rw-r--r-- | symbols/group | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/symbols/group b/symbols/group index d27d53b..87a5bc9 100644 --- a/symbols/group +++ b/symbols/group @@ -42,6 +42,13 @@ xkb_symbols "rctrl_switch" { key <RCTL> {[ Mode_switch ]}; }; +// The Caps_Lock key (while pressed) chooses the next group, +// while Alt+Caps_Lock toggles CapsLock. +partial modifier_keys +xkb_symbols "caps_switch" { + key <CAPS> {[ Mode_switch, Caps_Lock ], type[group1] = "PC_ALT_LEVEL2" }; +}; + // Pressing the right Alt key switches to the next group. partial modifier_keys xkb_symbols "toggle" { @@ -62,6 +69,13 @@ xkb_symbols "shifts_toggle" { key <RTSH> {[ Shift_R, ISO_Next_Group ]}; }; +// Pressing Caps_Lock switches to the next group, +// while Shift+Caps_Lock toggles CapsLock. +partial modifier_keys +xkb_symbols "caps_toggle" { + key <CAPS> {[ ISO_Next_Group, Caps_Lock ], type[group1] = "TWO_LEVEL" }; +}; + // Pressing Shift+Caps_Lock switches to the next group. partial modifier_keys xkb_symbols "shift_caps_toggle" { |