mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
More modifier explanation; refer to i3.
parent
078df1f1a5
commit
cb4e5333d1
|
@ -1,7 +1,14 @@
|
|||
### Format
|
||||
|
||||
bindsym [--release] [--locked] <Modifiers><Keysyms> <command>
|
||||
bindcode [--release] [--locked] <Modifiers><Keycodes> <command>
|
||||
bindsym [--release] [--locked] [<Modifiers>+]<Keysyms> <command>
|
||||
bindcode [--release] [--locked] [<Modifiers>+]<Keycodes> <command>
|
||||
|
||||
`<Modifiers>` is a (possibly empty) `+` separated list of modifier bit flag names.
|
||||
(`Shift`=`0x01`, `Lock`=`0x02`, `Ctrl`=`0x04`, `Mod1`=`Alt`=`0x08`, `Mod2`=`0x10`, `Mod3`=`0x20`, `Mod4`=`0x40`, `Mod5`=`0x80`). These names should not be confused with the keys whose
|
||||
pressing might produce the modifier; on US keyboards, keysym `Alt_L` (keycode 64) and keysym `Alt_R` (keycode 108) both produce the `Alt` modifier.
|
||||
|
||||
|
||||
The binding specifications here mostly overlap with those from i3 (see https://i3wm.org/docs/userguide.html#keybindings).
|
||||
|
||||
### How to identify keys
|
||||
|
||||
|
|
Loading…
Reference in a new issue