niri: add pause button
crispy-caesus crispy@crispy-caesus.eu
Sat, 10 Oct 2026 01:12:38 +0200
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
niri/.config/niri/keybinds.kdl
→
niri/.config/niri/keybinds.kdl
@@ -121,8 +121,9 @@ XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; } - XF86Tools allow-when-locked=true { spawn-sh "playerctl -p 'strawberry, kew, Feishin, Supersonic, org.gnome.Podcasts' play-pause"; } - Pause allow-when-locked=true { spawn-sh "playerctl -p 'strawberry, kew, Feishin, Supersonic, org.gnome.Podcasts' play-pause"; } + XF86Tools allow-when-locked=true { spawn-sh "playerctl -p 'strawberry, kew, Feishin, Supersonic, org.gnome.Podcasts' play-pause"; } + Pause allow-when-locked=true { spawn-sh "playerctl -p 'strawberry, kew, Feishin, Supersonic, org.gnome.Podcasts' play-pause"; } + XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl -p 'strawberry, kew, Feishin, Supersonic, org.gnome.Podcasts' play-pause"; } //==================== OTHER SCRIPTS ====================// Mod+Ctrl+W { spawn-sh "~/.config/scripts/selectwallpaper.sh"; }