diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-15 14:26:15 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-15 14:28:19 +1300 |
commit | 0bff2338642b1dab20c9a720e632691a46153a6a (patch) | |
tree | eaa7efffe6c46d548c28bc1a833a7cf41979e16c /X/xinitrc.d/mpdlrc.sh | |
parent | Use .d directory for .xinitrc subscripts (diff) | |
download | dotfiles-0bff2338642b1dab20c9a720e632691a46153a6a.tar.gz dotfiles-0bff2338642b1dab20c9a720e632691a46153a6a.zip |
Add command guards around .xinitrc.d subscripts
Diffstat (limited to 'X/xinitrc.d/mpdlrc.sh')
-rw-r--r-- | X/xinitrc.d/mpdlrc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/X/xinitrc.d/mpdlrc.sh b/X/xinitrc.d/mpdlrc.sh index 1858f790..98f2d92a 100644 --- a/X/xinitrc.d/mpdlrc.sh +++ b/X/xinitrc.d/mpdlrc.sh @@ -1,2 +1,3 @@ # Start mpdlrc-notify-send <https://sanctum.geek.nz/cgit/mpdlrc.git/about/> +command -v mpdlrc-notify-send >/dev/null 2>&1 || return mpdlrc-notify-send & |