mpd+ncmpcpp finalized

This commit is contained in:
Cheri 2021-02-19 21:01:52 +02:00 committed by vibikim
parent fa9f73ccaf
commit 85d9c9c232
5 changed files with 593 additions and 5 deletions

View file

@ -2,6 +2,11 @@
if [ -z "`pgrep -x $1`" ]; then
$@ &
if [ "$1" = mpd ]; then
sleep 1
mpd-mpris &
mpd-rpc &
fi
notify-send $1 "is now enabled"
else
notify-send $1 "is now disabled"