diff --git a/templates/.config/niri/config.kdl b/templates/.config/niri/config.kdl index 5a9c4b9..d94ec2e 100644 --- a/templates/.config/niri/config.kdl +++ b/templates/.config/niri/config.kdl @@ -277,6 +277,7 @@ binds { Mod+T { spawn "alacritty"; } Mod+D { spawn "wofi" "--show" "drun"; } Mod+Shift+D { spawn "wofi" "--show" "run"; } + Mod+P { spawn "wofi-pass"; } Super+Alt+L { spawn "swaylock"; } // You can also use a shell. Do this if you need pipes, multiple commands, etc. @@ -289,6 +290,10 @@ binds { 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"; } + XF86AudioMedia allow-when-locked=true { spawn "playerctl" "play-pause"; } + XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; } + XF86AudioPrev allow-when-locked=true { spawn "playerctl" "previous"; } + XF86AudioNext allow-when-locked=true { spawn "playerctl" "next"; } Mod+Q { close-window; }