commit 2db3daa5515529767139afac11e55cc361d86c0c from: boredpasta date: Mon Jan 13 05:25:31 2025 UTC mpc-notify: handle the "stop" command commit - 7922604282e94f2a59c63a949370a71226b6a65c commit + 2db3daa5515529767139afac11e55cc361d86c0c blob - 2ed025f841a9257c8adcbfa9d697efe473c2997b (mode 755) blob + 48cb5c7ad9759d32245465043cd0693d5a78ac23 (mode 644) --- mpc-notify +++ 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%)"