From e056a03614cbac87273e6de02b412c6245a902be Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 18 Apr 2023 09:03:49 -0400 Subject: fix(grfn/home): Explicitly target spotify with playerctl Change-Id: I3ca79e51b749e018816fc52d9d957f799e3aad73 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8484 Autosubmit: grfn Tested-by: BuildkiteCI Reviewed-by: grfn --- users/grfn/system/home/modules/i3.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'users/grfn/system') diff --git a/users/grfn/system/home/modules/i3.nix b/users/grfn/system/home/modules/i3.nix index 5bb027831575..311ccd94b49a 100644 --- a/users/grfn/system/home/modules/i3.nix +++ b/users/grfn/system/home/modules/i3.nix @@ -150,9 +150,9 @@ in "${mod}+p" = "exec rofi-pass -font '${decorationFont}'"; # Media - "XF86AudioPlay" = "exec playerctl play-pause"; - "XF86AudioNext" = "exec playerctl next"; - "XF86AudioPrev" = "exec playerctl previous"; + "XF86AudioPlay" = "exec playerctl -p spotify play-pause"; + "XF86AudioNext" = "exec playerctl -p spotify next"; + "XF86AudioPrev" = "exec playerctl -p spotify previous"; "XF86AudioRaiseVolume" = "exec pulseaudio-ctl up"; "XF86AudioLowerVolume" = "exec pulseaudio-ctl down"; "XF86AudioMute" = "exec pulseaudio-ctl mute"; -- cgit 1.4.1