From 4de8949b5cd171d793acc5745b62ca33ad7d67c6 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 6 Oct 2024 13:42:22 -0700 Subject: [PATCH] feat: deprioritize firefox for playerctl --- users/youwen/linux/hyprland/common.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/users/youwen/linux/hyprland/common.nix b/users/youwen/linux/hyprland/common.nix index 93938cc..59c5bf6 100644 --- a/users/youwen/linux/hyprland/common.nix +++ b/users/youwen/linux/hyprland/common.nix @@ -109,9 +109,9 @@ # Media controls ",XF86AudioMute, exec, ${pkgs.pamixer}/bin/pamixer -t" - ",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause" - ",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next" - ",XF86AudioRewind, exec, ${pkgs.playerctl}/bin/playerctl previous" + ",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox play-pause" + ",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox next" + ",XF86AudioRewind, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox previous" ] ++ ( if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ]