X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=audio%2Fplayers%2Faction;h=af5a2c748b116e04e1347ef4b1d4a2f9e5d06244;hb=HEAD;hp=5449dd4250db95e83658969fa5a9197b68124d9f;hpb=dd1ecb5a175938d7b5bdf06cf91923c977eaed4e;p=audio-cdr-video.git diff --git a/audio/players/action b/audio/players/action index 5449dd4..af5a2c7 100755 --- a/audio/players/action +++ b/audio/players/action @@ -26,13 +26,15 @@ elif pgrep deadbeef >/dev/null; then elif pgrep audacious >/dev/null; then if [ "$action" = prev ]; then - exec audacious --rew + exec audtool --playlist-reverse elif [ "$action" = next ]; then - exec audacious --fwd + exec audtool --playlist-advance elif [ "$action" = pause ]; then - exec audacious --play-pause + exec audtool --playback-playpause elif [ "$action" = stop ]; then - exec audacious --stop + exec audtool --playback-stop + elif [ "$action" = stop-after ]; then + exec audtool --playlist-stop-after-toggle fi else