]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs: integrate onRelease into keybind
authorTobias Bengfort <tobias.bengfort@posteo.de>
Fri, 2 Aug 2024 12:05:18 +0000 (14:05 +0200)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 6 Aug 2024 17:15:06 +0000 (19:15 +0200)
docs/labwc-config.5.scd

index cfd46316b50e9f46c2cbe74c22b2b56176fe514d..ee04c6cb1bf2a7ceaf6f499a5e12bd82d8e438ee 100644 (file)
@@ -499,7 +499,7 @@ extending outward from the snapped edge.
        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)
@@ -525,8 +525,8 @@ extending outward from the snapped edge.
        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.
@@ -535,7 +535,6 @@ extending outward from the snapped edge.
        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"/>