diff --git a/modules/hyprland/inputs.nix b/modules/hyprland/inputs.nix index 88a75b6..c124016 100644 --- a/modules/hyprland/inputs.nix +++ b/modules/hyprland/inputs.nix @@ -38,6 +38,13 @@ in { }; }; + bind = [ + ",XF86AudioPlay, exec, playerctl play-pause" + ",XF86AudioStop, exec, playerctl stop" + ",XF86AudioNext, exec, playerctl next" + ",XF86AudioPrev, exec, playerctl previous" + ]; + exec-once = optionals (! isNull mainMonitor) ["hyprctl dispatch focusmonitor ${mainMonitor}"];