summaryrefslogtreecommitdiff
path: root/kusanagi/old/dot_i3/mpdscribble.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-30 15:34:27 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-30 15:34:27 +0100
commit470e0dba95b89c82010e674102fb78559bd04257 (patch)
tree37f9d4c2b731320f9073c30e9ee6647bbcf95895 /kusanagi/old/dot_i3/mpdscribble.sh
parent09ee5143b4d13ed0ca70d4904a9c2c5a058fcf9e (diff)
downloaduser-config-470e0dba95b89c82010e674102fb78559bd04257.tar.gz
user-config-470e0dba95b89c82010e674102fb78559bd04257.zip
refactor
Diffstat (limited to 'kusanagi/old/dot_i3/mpdscribble.sh')
-rwxr-xr-xkusanagi/old/dot_i3/mpdscribble.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/kusanagi/old/dot_i3/mpdscribble.sh b/kusanagi/old/dot_i3/mpdscribble.sh
new file mode 100755
index 0000000..6297ee7
--- /dev/null
+++ b/kusanagi/old/dot_i3/mpdscribble.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+pidof mpdscribble >& /dev/null
+if [ $? -ne 0 ]; then
+ mpdscribble &
+fi