about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mpc-play-pause.sh4
-rw-r--r--src/XMonad/Custom/Bindings.hs6
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/mpc-play-pause.sh b/scripts/mpc-play-pause.sh
index 887ba5b..6c82377 100755
--- a/scripts/mpc-play-pause.sh
+++ b/scripts/mpc-play-pause.sh
@@ -2,7 +2,7 @@
 
 if mpc | grep -q '\[playing\]'
 then
-    mpc --no-status pause
+    mpc pause
 else
-    mpc --no-status play
+    mpc play
 fi
diff --git a/src/XMonad/Custom/Bindings.hs b/src/XMonad/Custom/Bindings.hs
index f48416a..f956674 100644
--- a/src/XMonad/Custom/Bindings.hs
+++ b/src/XMonad/Custom/Bindings.hs
@@ -143,9 +143,9 @@ keysMedia _ =
     , ("<XF86AudioLowerVolume>" , spawn "pactl set-sink-mute 0 false && pactl set-sink-volume 0 -10%")
     , ("<XF86AudioRaiseVolume>" , spawn "pactl set-sink-mute 0 false && pactl set-sink-volume 0 +10%")
     , ("<XF86AudioPlay>"        , spawn "~/.xmonad/scripts/mpc-play-pause.sh")
-    , ("<XF86AudioStop>"        , spawn "mpc --no-status stop")
-    , ("<XF86AudioPrev>"        , spawn "mpc --no-status prev")
-    , ("<XF86AudioNext>"        , spawn "mpc --no-status next")
+    , ("<XF86AudioStop>"        , spawn "mpc stop")
+    , ("<XF86AudioPrev>"        , spawn "mpc prev")
+    , ("<XF86AudioNext>"        , spawn "mpc next")
     ]
 
 keysWorkspaces :: XConfig Layout -> [(String, X ())]

Consider giving Nix/NixOS a try! <3