about summary refs log tree commit diff
path: root/scripts/mpc-play-pause.sh
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-01-12 17:57:07 +0300
committerAzat Bahawi <azahi@teknik.io>2020-01-12 17:57:07 +0300
commitfc3ece0b1a0ab6bca8d2e8ee44518981de2cfdd1 (patch)
treece98e88cf767f0cc352ae07423aabfa47185e541 /scripts/mpc-play-pause.sh
parentHappy New Year (diff)
Minor fixes to keybinds and scripts
Diffstat (limited to '')
-rwxr-xr-xscripts/mpc-play-pause.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/mpc-play-pause.sh b/scripts/mpc-play-pause.sh
deleted file mode 100755
index 6c82377..0000000
--- a/scripts/mpc-play-pause.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if mpc | grep -q '\[playing\]'
-then
-    mpc pause
-else
-    mpc play
-fi

Consider giving Nix/NixOS a try! <3