diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-04-15 20:48:48 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-15 20:48:48 -0700 |
| commit | f84ce65404aaa994826904f43557141eaefa5889 (patch) | |
| tree | 9a3fb48eace04d2daf8c9ab52c146d5901278f41 /modules/home/desktop/components/i3 | |
| parent | 3d7fc9a4edf1ca323dcda3378eb6810028623f4c (diff) | |
home: enable playerctld
Diffstat (limited to 'modules/home/desktop/components/i3')
| -rw-r--r-- | modules/home/desktop/components/i3/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/home/desktop/components/i3/default.nix b/modules/home/desktop/components/i3/default.nix index cf9ed91..add418c 100644 --- a/modules/home/desktop/components/i3/default.nix +++ b/modules/home/desktop/components/i3/default.nix @@ -144,11 +144,11 @@ in { "XF86AudioMute" = "exec --no-startup-id ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle"; "XF86AudioMicMute" = "exec --no-startup-id ${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle"; - "XF86AudioPlay" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any play-pause\""; - "XF86AudioPause" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any play-pause\""; - "XF86AudioStop" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any stop\""; - "XF86AudioNext" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any next\""; - "XF86AudioPrev" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any previous\""; + "XF86AudioPlay" = "exec --no-startup-id \"playerctl --player=playerctld,cmus,firefox,%any play-pause\""; + "XF86AudioPause" = "exec --no-startup-id \"playerctl --player=playerctld,cmus,firefox,%any play-pause\""; + "XF86AudioStop" = "exec --no-startup-id \"playerctl --player=playerctld,cmus,firefox,%any stop\""; + "XF86AudioNext" = "exec --no-startup-id \"playerctl --player=playerctld,cmus,firefox,%any next\""; + "XF86AudioPrev" = "exec --no-startup-id \"playerctl --player=playerctld,cmus,firefox,%any previous\""; # Media controller widget "${mod}+m" = "exec --no-startup-id eww-toggle music --arg pos=center --arg gaps=false"; |