all repos — nixfiles @ 18515928f2c650265cdd80ee76adae56ed9b58d0

System and user configuration, managed by nix and home-manager

sxhkd: Use playerctl to manage music players
Alan Pearce alan@alanpearce.eu
Mon, 04 Nov 2019 14:26:15 +0100
commit

18515928f2c650265cdd80ee76adae56ed9b58d0

parent

472c30f3a01dd5813cedce1677e1162b6870ca40

2 files changed, 3 insertions(+), 2 deletions(-)

jump to
M system/settings/user-interface.nixsystem/settings/user-interface.nix
@@ -13,6 +13,7 @@ epdfview     geeqie
 
     cmus
+    playerctl
 
     fish # for emacs-fish-completion
 
M user/settings/sxhkd.nixuser/settings/sxhkd.nix
@@ -18,10 +18,10 @@ XF86Display       disper -C
 
     XF86AudioPlay
-      cmus-remote --pause
+      playerctl play
 
     XF86Audio{Prev,Next}
-      cmus-remote --{prev,next}
+      playerctl {previous,next}
 
     XF86Tools
       networkmanager_dmenu