mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
More clarification
parent
8352678758
commit
33474699e4
|
@ -30,7 +30,8 @@ xkb keycodes are typically `scancode + 8`.
|
||||||
bindsym Ctrl+Shift+1 restart
|
bindsym Ctrl+Shift+1 restart
|
||||||
bindsym Ctrl+exclam restart
|
bindsym Ctrl+exclam restart
|
||||||
|
|
||||||
# As are these. Exits, e.g. when Control_L, P and Q are pressed simultaneously
|
# These shortcuts are equivalent and will both exit when, for
|
||||||
|
# instance, Control_L, P and Q are pressed simultaneously
|
||||||
bindsym Ctrl+q+p exit
|
bindsym Ctrl+q+p exit
|
||||||
bindsym Ctrl+p+q exit
|
bindsym Ctrl+p+q exit
|
||||||
|
|
||||||
|
@ -54,8 +55,14 @@ xkb keycodes are typically `scancode + 8`.
|
||||||
bindsym Ctrl+dead_acute+e exec false
|
bindsym Ctrl+dead_acute+e exec false
|
||||||
bindsym Alt+Multi_key+1+2 exec false
|
bindsym Alt+Multi_key+1+2 exec false
|
||||||
|
|
||||||
### Caveats
|
### Limitations
|
||||||
|
|
||||||
Pressing multiple keys which would result in the same modifier change if pressed alone
|
Pressing multiple keys which would result in the same modifier change if pressed alone
|
||||||
(such as `Shift_L` and `Shift_R` on US keyboards) may trigger bindings like `bindsym Shift+Shift_R`,
|
(such as `Shift_L` and `Shift_R` on US keyboards) may trigger bindings like `bindsym Shift+Shift_R`,
|
||||||
possibly contrary to expectation.
|
possibly contrary to expectation.
|
||||||
|
|
||||||
|
When multiple keys generate the same keysym or when a single key generates multiple keysyms, shortcuts
|
||||||
|
like `Ctrl+a+a+b` are possible. Similarly, `Ctrl+a+b` might not work if multiple distinct keys generating
|
||||||
|
`a` are pressed at the same time.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue