aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-04-19 11:29:01 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-04-19 11:29:01 +0400
commitf51dd67f2d4beaeb0bad697ec026685a8efc5ca8 (patch)
treebd57c2cc80bf74a5e6e428c366a329291a6e512c
parent3509de6fbfbd1156eee094334b271d6adfcd7580 (diff)
downloadniri-f51dd67f2d4beaeb0bad697ec026685a8efc5ca8.tar.gz
niri-f51dd67f2d4beaeb0bad697ec026685a8efc5ca8.tar.bz2
niri-f51dd67f2d4beaeb0bad697ec026685a8efc5ca8.zip
wiki: Add Since to allow-when-locked
-rw-r--r--wiki/Configuration:-Key-Bindings.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/wiki/Configuration:-Key-Bindings.md b/wiki/Configuration:-Key-Bindings.md
index 62c250bb..cbf22e63 100644
--- a/wiki/Configuration:-Key-Bindings.md
+++ b/wiki/Configuration:-Key-Bindings.md
@@ -113,14 +113,16 @@ binds {
}
```
-Spawn bindings have a special `allow-when-locked=true` property that makes them work even while the session is locked:
-
-```
-binds {
- // This mute bind will work even when the session is locked.
- XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
-}
-```
+> [!TIP]
+> <sup>Since: 0.1.5</sup>
+> Spawn bindings have a special `allow-when-locked=true` property that makes them work even while the session is locked:
+>
+> ```
+> binds {
+> // This mute bind will work even when the session is locked.
+> XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
+> }
+> ```
Currently, niri *does not* use a shell to run commands, which means that you need to manually separate arguments.