summaryrefslogtreecommitdiff
path: root/scripts/start-mpd
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-11 15:28:11 +0100
committerdavidovski <david@davidovski.xyz>2023-07-11 15:28:11 +0100
commitb85872dfc933ff3bd2e95303d8327c357c8b9ca6 (patch)
tree377f7f3425091ea5edeca9286bb37e94c935693b /scripts/start-mpd
parentafda5cf53f9fc181514f6b69fbf5fb5cbb80ef13 (diff)
Move to sx instead of startx
Diffstat (limited to 'scripts/start-mpd')
-rwxr-xr-xscripts/start-mpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/start-mpd b/scripts/start-mpd
index 33f6ad5..7b4f9a2 100755
--- a/scripts/start-mpd
+++ b/scripts/start-mpd
@@ -1,4 +1,4 @@
#!/bin/sh
-[ ! -s ~/.config/mpd/pid ] && mpd .config/mpd/mpd.conf
+pidof mpd || mpd .config/mpd/mpd.conf
pidof mpdscribble || mpdscribble --conf .config/mpdscribble/mpdscribble.conf
pidof mpd-rpc || mpd-rpc --no-idle --fork