summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]mpc-notify5
1 files changed, 5 insertions, 0 deletions
diff --git a/mpc-notify b/mpc-notify
index 2ed025f..48cb5c7 100755..100644
--- a/mpc-notify
+++ b/mpc-notify
@@ -43,6 +43,11 @@ case "$command" in
song_head="Now Playing"
use_preview=1
;;
+"stop")
+ mpc -q stop
+ song_head="Stopped Playing"
+ song_icon="media-playback-stop"
+ ;;
"toggle")
mpc -q toggle
state="$(mpc status %state%)"