feat: deprioritize firefox for playerctl

This commit is contained in:
Youwen Wu 2024-10-06 13:42:22 -07:00
parent 822d02f320
commit 4de8949b5c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -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" ]