mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: deprioritize firefox for playerctl
This commit is contained in:
parent
822d02f320
commit
4de8949b5c
1 changed files with 3 additions and 3 deletions
|
@ -109,9 +109,9 @@
|
||||||
|
|
||||||
# Media controls
|
# Media controls
|
||||||
",XF86AudioMute, exec, ${pkgs.pamixer}/bin/pamixer -t"
|
",XF86AudioMute, exec, ${pkgs.pamixer}/bin/pamixer -t"
|
||||||
",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause"
|
",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox play-pause"
|
||||||
",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next"
|
",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox next"
|
||||||
",XF86AudioRewind, exec, ${pkgs.playerctl}/bin/playerctl previous"
|
",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" ]
|
if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ]
|
||||||
|
|
Loading…
Reference in a new issue