Stores the keyboard layout either globally or per window and restores
it when switching back to the window. Default is global.
-*<keyboard><keybind key="" layoutDependent="">*
+*<keyboard><keybind key="" layoutDependent="" onRelease="">*
Define a *key* binding in the format *modifier-key*, where supported
modifiers are:
- S (shift)
If set to "no" (or is absent) the keybind will be layout agnostic.
Default is no.
-*<keyboard><keybind key="" onRelease="yes|no">*
- *onRelease*, when yes, fires the keybind action when the key or key
+ *onRelease* [yes|no]
+ When yes, fires the keybind action when the key or key
combination is released, rather than first pressed. This is useful to
bind actions to only modifier keys, where the action should fire when
the modifier is used without another key. Default is no.
pressed & released, without interference from other multi-key
combinations that include the super key:
-
```
<keybind key="Super_L" onRelease="yes">
<action name="Execute" command="rofi -show drun"/>