diff options
author | Benno Schulenberg <bensberg@telfort.nl> | 2022-08-30 16:55:51 +0200 |
---|---|---|
committer | Sergey Udaltsov <sergey.udaltsov@gmail.com> | 2022-08-30 15:51:15 +0000 |
commit | 7124dd5127ca21374a44a45a7f8e7881ea85dc92 (patch) | |
tree | 67d5cdb969f6dc88969aec2fb922a175364c1f02 /symbols/ctrl | |
parent | d84b892a849b06c2ebb3985ed241365616d6c807 (diff) | |
download | xkeyboard-config-7124dd5127ca21374a44a45a7f8e7881ea85dc92.tar.gz |
ctrl: rename `swapcaps_hyper` to `hyper_capscontrol`, and let it use Mod4
Other options that assign `Hyper` to some key, map Mod4 to the relevant
key or symbol, so let this relatively new option do this too.
This fixes issue #344.
Reported-by: Artur Brzozowski
Acked-by: Woodrow Douglass
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Diffstat (limited to 'symbols/ctrl')
-rw-r--r-- | symbols/ctrl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/symbols/ctrl b/symbols/ctrl index a9e97f5..75aca17 100644 --- a/symbols/ctrl +++ b/symbols/ctrl @@ -20,14 +20,14 @@ xkb_symbols "swapcaps" { modifier_map Lock { <LCTL> }; }; -// Swap the functions of the CapsLock key and the left Ctrl key, -// but make the Ctrl key a 'Hyper' modifier +// Make the left Ctrl key a left Hyper, +// and the CapsLock key a left Control. partial modifier_keys -xkb_symbols "swapcaps_hyper" { +xkb_symbols "hyper_capscontrol" { replace key <CAPS> { [ Control_L ] }; replace key <LCTL> { [ Hyper_L ] }; modifier_map Control { <CAPS> }; - modifier_map Mod3 { <LCTL> }; + modifier_map Mod4 { <LCTL> }; }; // Set CapsLock to left Ctrl and left Ctrl to switch layout. |