From 2db3daa5515529767139afac11e55cc361d86c0c Mon Sep 17 00:00:00 2001 From: boredpasta Date: Mon, 13 Jan 2025 07:25:31 +0200 Subject: mpc-notify: handle the "stop" command --- mpc-notify | 5 +++++ 1 file changed, 5 insertions(+) mode change 100755 => 100644 mpc-notify (limited to 'mpc-notify') diff --git a/mpc-notify b/mpc-notify old mode 100755 new mode 100644 index 2ed025f..48cb5c7 --- 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%)" -- cgit v1.2.3