From: Oleg Broytman Date: Mon, 12 Apr 2021 08:47:55 +0000 (+0300) Subject: Refactor(audacious): Use `audtool` X-Git-Url: https://git.phdru.name/?p=audio-cdr-video.git;a=commitdiff_plain;h=5d1739a2f680e053827568c8e024efd1d8bb7995 Refactor(audacious): Use `audtool` --- diff --git a/audio/players/action b/audio/players/action index 5449dd4..6d234bd 100755 --- a/audio/players/action +++ b/audio/players/action @@ -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