Lookup Tables
waywall has pre-defined sets of names which correspond to keys, mouse buttons, and modifiers. These are used when loading your configuration. All names are case insensitive.
Keycodes
The list of valid keycodes can be found in waywall's source code here.
Virtually all normal keyboard keys are present, although some may not be named
as you expect. waywall follows the names defined by the input-event-codes.h
header from Linux.
Keysyms
The list of valid keysyms comes from libxkbcommon. The xkbcommon-keysyms.h
header contains all of the valid keysym names. Each keysym's name is prefixed
with XKB_KEY_
.
Modifiers
The following table lists all valid names for modifiers:
Modifier | Names | ||
---|---|---|---|
Shift | shift | ||
Control | ctrl | control | |
Alt | alt | mod1 | |
Super | mod4 | super | win |
Caps Lock | caps | lock | capslock |
Mod2 | mod2 | ||
Mod3 | mod3 | ||
Mod5 | mod5 |
Mouse buttons
The following table lists all valid names for mouse buttons:
Button | Names | |||
---|---|---|---|---|
Left Button | lmb | m1 | mouse1 | leftmouse |
Middle Button | mmb | m3 | mouse3 | middlemouse |
Right Button | rmb | m2 | mouse2 | rightmouse |
Side button (M4) | mb4 | m4 | mouse4 | |
Side button (M5) | mb5 | m5 | mouse5 |