diff --git a/modules/home/niri.nix b/modules/home/niri.nix index 84a5699..0be90a8 100644 --- a/modules/home/niri.nix +++ b/modules/home/niri.nix @@ -203,6 +203,10 @@ in { "Mod+Shift+A".action = spawn "hyprlock"; + "XF86AudioPlay" = { allow-when-locked = true; action = spawn "playerctl" "play-pause"; }; + "XF86AudioNext" = { allow-when-locked = true; action = spawn "playerctl" "next"; }; + "XF86AudioPrev" = { allow-when-locked = true; action = spawn "playerctl" "previous"; }; + "XF86AudioRaiseVolume" = { allow-when-locked = true; action = spawn "swayosd-client" "--output-volume" "raise";