forge
Explore
Log in

Don't you dare go Hollow

wiki: Add Since to allow-when-locked

Browse files at this commit

f51dd67f2d4beaeb0bad697ec026685a8efc5ca8Ivan MolodetskikhParent: 3509de6
wiki/Configuration:-Key-Bindings.mdmodified+10 -8
@@ -113,14 +113,16 @@ binds {
113113 }
114114 ```
115115
116-Spawn bindings have a special `allow-when-locked=true` property that makes them work even while the session is locked:
117-
118-```
119-binds {
120- // This mute bind will work even when the session is locked.
121- XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
122-}
123-```
116+> [!TIP]
117+> <sup>Since: 0.1.5</sup>
118+> Spawn bindings have a special `allow-when-locked=true` property that makes them work even while the session is locked:
119+>
120+> ```
121+> binds {
122+> // This mute bind will work even when the session is locked.
123+> XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
124+> }
125+> ```
124126
125127 Currently, niri *does not* use a shell to run commands, which means that you need to manually separate arguments.
126128