commit 2db3daa5515529767139afac11e55cc361d86c0c
parent 7922604282e94f2a59c63a949370a71226b6a65c
Author: boredpasta <boredpasta@tutanota.com>
Date: Mon, 13 Jan 2025 07:25:31 +0200
mpc-notify: handle the "stop" command
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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%)"