[xkb] Add keymap that swaps lwin and lalt and uses ralt as hyper

This commit is contained in:
Ivan Malison 2019-05-06 22:50:44 -07:00
parent b826c97678
commit 9c1c3d3f1d
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,7 @@
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)+altwin(swap_lalt_lwin)+imalison(ralt_as_hyper)+capslock(ctrl_modifier)" };
xkb_geometry { include "pc(pc105)" };
};

View File

@ -9,3 +9,9 @@ xkb_symbols "home_as_hyper" {
replace key <HOME> { [ Hyper_L ] };
modifier_map Mod3 { <HOME>, Hyper_L, Hyper_R };
};
partial modifier_keys
xkb_symbols "ralt_as_hyper" {
replace key <RALT> { [ Hyper_L, Hyper_L ] };
modifier_map Mod3 { <RALT>, Hyper_L };
};