about summary refs log tree commit diff
path: root/users/grfn/system/home/modules/i3.nix
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2023-04-18T13·03-0400
committerclbot <clbot@tvl.fyi>2023-04-18T13·14+0000
commite056a03614cbac87273e6de02b412c6245a902be (patch)
tree37bbc508056e5b1f05436fe82cd43c16bc6921c0 /users/grfn/system/home/modules/i3.nix
parent43d5658dad8b94ce63f5b6c400c248ce9eeec707 (diff)
fix(grfn/home): Explicitly target spotify with playerctl r/6098
Change-Id: I3ca79e51b749e018816fc52d9d957f799e3aad73
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8484
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/system/home/modules/i3.nix')
-rw-r--r--users/grfn/system/home/modules/i3.nix6
1 files changed, 3 insertions, 3 deletions
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";