]> git.phdru.name Git - audio-cdr-video.git/commitdiff
Refactor(audacious): Use `audtool`
authorOleg Broytman <phd@phdru.name>
Mon, 12 Apr 2021 08:47:55 +0000 (11:47 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 12 Apr 2021 08:47:55 +0000 (11:47 +0300)
audio/players/action

index 5449dd4250db95e83658969fa5a9197b68124d9f..6d234bd48ff54fe24b30c52e62e26c77b9303ff1 100755 (executable)
@@ -26,13 +26,13 @@ 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
    fi
 
 else