summaryrefslogtreecommitdiff
path: root/scripts/start-mpd
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-12-13 20:05:03 +0000
committerdavidovski <david@davidovski.xyz>2021-12-13 20:05:03 +0000
commite4e3c759d4d9befb66ccf61096e0d935835330e1 (patch)
tree95164c1846dd7f5501e8e2915f75867a21185e9a /scripts/start-mpd
parent74452dfb1735e7347459f3b024770ce285f7c96d (diff)
added kaomoji list
Diffstat (limited to 'scripts/start-mpd')
-rwxr-xr-xscripts/start-mpd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/start-mpd b/scripts/start-mpd
index aef21c2..33f6ad5 100755
--- a/scripts/start-mpd
+++ b/scripts/start-mpd
@@ -1,4 +1,4 @@
#!/bin/sh
[ ! -s ~/.config/mpd/pid ] && mpd .config/mpd/mpd.conf
-[ -s ~/.config/mpd/pid ] && mpdscribble --conf .config/mpdscribble/mpdscribble.conf
-[ -s ~/.config/mpd/pid ] && mpd-rpc --no-idle --fork
+pidof mpdscribble || mpdscribble --conf .config/mpdscribble/mpdscribble.conf
+pidof mpd-rpc || mpd-rpc --no-idle --fork