about summary refs log tree commit diff
path: root/scripts/mpc-play-pause.sh
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2019-12-03 12:49:03 +0300
committerAzat Bahawi <azahi@teknik.io>2019-12-03 12:49:03 +0300
commit4a0a0d612f0b635af973b756fa250ee221fcdb3f (patch)
treef07eb48bdd2746adcdb70efb7a2b069c46024fcc /scripts/mpc-play-pause.sh
parenthaddock, stylish-haskell, stylish-cabal (diff)
Fix mpc error
Diffstat (limited to 'scripts/mpc-play-pause.sh')
-rwxr-xr-xscripts/mpc-play-pause.sh4
1 files changed, 2 insertions, 2 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

Consider giving Nix/NixOS a try! <3