diff options
author | boredpasta <boredpasta@tutanota.com> | 2025-01-13 07:25:31 +0200 |
---|---|---|
committer | boredpasta <boredpasta@tutanota.com> | 2025-01-13 07:25:31 +0200 |
commit | 2db3daa5515529767139afac11e55cc361d86c0c (patch) | |
tree | c5d9d091f9068669b596dbc8377dbd4cdd85b403 | |
parent | 7922604282e94f2a59c63a949370a71226b6a65c (diff) |
mpc-notify: handle the "stop" command
-rw-r--r--[-rwxr-xr-x] | mpc-notify | 5 |
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%)" |