aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerdinand Bachmann <ferdinand.bachmann@yrlf.at>2024-03-24 12:20:05 +0100
committerSimon Ser <contact@emersion.fr>2024-03-28 10:26:34 +0100
commit125c74338ac8bf8c15323a49730352b82d6d51bd (patch)
treeffcc5da604d1a8abbc073fdb8b8a21b94bf92b8a
parent5a7477cb8f568ce4aeb852215ad40899f18f3d91 (diff)
man: document supported modifier names
-rw-r--r--sway/sway.5.scd6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 7e58b528..f73db3ba 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -400,6 +400,12 @@ runtime.
only be available for that group. By default, if you overwrite a binding,
swaynag will give you a warning. To silence this, use the _--no-warn_ flag.
+ For specifying modifier keys, you can use the XKB modifier names _Shift_,
+ _Lock_ (for Caps Lock), _Control_, _Mod1_ (for Alt), _Mod2_ (for Num Lock),
+ _Mod3_ (for XKB modifier Mod3), _Mod4_ (for the Logo key), and _Mod5_ (for
+ AltGr). In addition, you can use the aliases _Ctrl_ (for Control) and _Alt_
+ (for Alt).
+
Unless the flag _--locked_ is set, the command will not be run when a
screen locking program is active. If there is a matching binding with
and without _--locked_, the one with will be preferred when locked and the