From 5d1739a2f680e053827568c8e024efd1d8bb7995 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 12 Apr 2021 11:47:55 +0300 Subject: [PATCH] Refactor(audacious): Use `audtool` --- audio/players/action | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2