aboutsummaryrefslogtreecommitdiff
path: root/mpd
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-18 16:30:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-18 16:30:14 +1200
commit4722948a5657d3a2596d408d551ab03c5085d0ec (patch)
tree326203d187489bdeaa78fc60f58ec65638a20c64 /mpd
parentBreak plenv stuff into its own target (diff)
downloaddotfiles-4722948a5657d3a2596d408d551ab03c5085d0ec.tar.gz
dotfiles-4722948a5657d3a2596d408d551ab03c5085d0ec.zip
More segmentation/tidying
Diffstat (limited to 'mpd')
-rw-r--r--mpd/profile.d/mpd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpd/profile.d/mpd.sh b/mpd/profile.d/mpd.sh
index e8ab36c6..daa55af6 100644
--- a/mpd/profile.d/mpd.sh
+++ b/mpd/profile.d/mpd.sh
@@ -1,2 +1,3 @@
# Start an mpd process if one isn't already running
+command mpd >/dev/null 2>&1 || return
[ -s "$HOME"/.mpd/pid ] || mpd