diff options
| -rw-r--r-- | wiki/Configuration:-Key-Bindings.md | 18 |
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. |
