]> git.phdru.name Git - audio-cdr-video.git/commitdiff
Feat(audacious): Toggle "stop after the song"
authorOleg Broytman <phd@phdru.name>
Mon, 12 Apr 2021 08:50:59 +0000 (11:50 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 12 Apr 2021 08:50:59 +0000 (11:50 +0300)
audio/players/action

index 6d234bd48ff54fe24b30c52e62e26c77b9303ff1..af5a2c748b116e04e1347ef4b1d4a2f9e5d06244 100755 (executable)
@@ -33,6 +33,8 @@ elif pgrep audacious >/dev/null; then
       exec audtool --playback-playpause
    elif [ "$action" = stop ]; then
       exec audtool --playback-stop
+   elif [ "$action" = stop-after ]; then
+      exec audtool --playlist-stop-after-toggle
    fi
 
 else