mirror of
https://github.com/labwc/labwc.git
synced 2026-02-21 01:40:26 -05:00
docs: integrate onRelease into keybind
This commit is contained in:
parent
0f6d5cc26a
commit
6dd0d69889
1 changed files with 3 additions and 4 deletions
|
|
@ -499,7 +499,7 @@ extending outward from the snapped edge.
|
||||||
Stores the keyboard layout either globally or per window and restores
|
Stores the keyboard layout either globally or per window and restores
|
||||||
it when switching back to the window. Default is global.
|
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
|
Define a *key* binding in the format *modifier-key*, where supported
|
||||||
modifiers are:
|
modifiers are:
|
||||||
- S (shift)
|
- S (shift)
|
||||||
|
|
@ -525,8 +525,8 @@ extending outward from the snapped edge.
|
||||||
If set to "no" (or is absent) the keybind will be layout agnostic.
|
If set to "no" (or is absent) the keybind will be layout agnostic.
|
||||||
Default is no.
|
Default is no.
|
||||||
|
|
||||||
*<keyboard><keybind key="" onRelease="yes|no">*
|
*onRelease* [yes|no]
|
||||||
*onRelease*, when yes, fires the keybind action when the key or key
|
When yes, fires the keybind action when the key or key
|
||||||
combination is released, rather than first pressed. This is useful to
|
combination is released, rather than first pressed. This is useful to
|
||||||
bind actions to only modifier keys, where the action should fire when
|
bind actions to only modifier keys, where the action should fire when
|
||||||
the modifier is used without another key. Default is no.
|
the modifier is used without another key. Default is no.
|
||||||
|
|
@ -535,7 +535,6 @@ extending outward from the snapped edge.
|
||||||
pressed & released, without interference from other multi-key
|
pressed & released, without interference from other multi-key
|
||||||
combinations that include the super key:
|
combinations that include the super key:
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
<keybind key="Super_L" onRelease="yes">
|
<keybind key="Super_L" onRelease="yes">
|
||||||
<action name="Execute" command="rofi -show drun"/>
|
<action name="Execute" command="rofi -show drun"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue