command/map: add Alt/Super as aliases for Mod1/Mod4

I personally made the mistake of using Alt instead of Mod1 when messing
with my config. This change makes things a bit more user
friendly/intuitive.
This commit is contained in:
Isaac Freund
2022-01-17 12:38:41 +01:00
parent 0bdf348883
commit f79c784e84
2 changed files with 9 additions and 4 deletions

View File

@ -162,14 +162,17 @@ is active. It cannot be entered or exited manually.
The following modifiers are available for use in mappings:
- Shift
- Lock (Caps lock)
- Control (Ctrl)
- Lock
- Control
- Mod1 (Alt)
- Mod2
- Mod3
- Mod4 (Super, Logo, Windows)
- Mod4 (Super)
- Mod5
- None (Create a mapping without modifiers)
- None
Alt and Super are aliases for Mod1 and Mod4 respectively. None allows creating
a mapping without modifiers
Keys are specified by their XKB keysym name. See
_/usr/include/xkbcommon/xkbcommon-keysyms.h_ for the complete list.