diff options
-rw-r--r-- | rules/base.o_s.part | 1 | ||||
-rw-r--r-- | rules/base.xml.in | 6 | ||||
-rw-r--r-- | symbols/group | 9 |
3 files changed, 16 insertions, 0 deletions
diff --git a/rules/base.o_s.part b/rules/base.o_s.part index a31556b..e31ab64 100644 --- a/rules/base.o_s.part +++ b/rules/base.o_s.part @@ -22,6 +22,7 @@ grp:caps_switch = +capslock(groupshift) grp:shift_caps_toggle = +group(shift_caps_toggle) grp:shift_caps_switch = +group(shift_caps_switch) + grp:win_space_toggle = +group(win_space_toggle) grp:win_menu_switch = +group(win_menu_switch) grp:alt_caps_toggle = +group(alt_caps_toggle) grp:alt_space_toggle = +group(alt_space_toggle) diff --git a/rules/base.xml.in b/rules/base.xml.in index 59b03c3..3b32e22 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -5874,6 +5874,12 @@ </option> <option> <configItem> + <name>grp:win_space_toggle</name> + <_description>Win Key+Space</_description> + </configItem> + </option> + <option> + <configItem> <name>grp:rwin_toggle</name> <_description>Right Win</_description> </configItem> diff --git a/symbols/group b/symbols/group index 8592f43..91be486 100644 --- a/symbols/group +++ b/symbols/group @@ -85,6 +85,15 @@ xkb_symbols "shift_caps_switch" { key <CAPS> { [ ISO_First_Group, ISO_Last_Group ] }; }; +// toggle using win + space as combo +partial modifier_keys +xkb_symbols "win_space_toggle" { + key <SPCE> { + type[Group1]="PC_SUPER_LEVEL2", + symbols[Group1]= [ space, ISO_Next_Group ] + }; +}; + // Pressing the left Win key selects the first group, // pressing the right Win or the Menu key selects the last group. partial modifier_keys |