update music script

This commit is contained in:
Frost-Phoenix 2024-03-03 18:38:37 +01:00
parent 1a9df42085
commit 98b4b9a06d

View file

@ -3,7 +3,7 @@
if (ps aux | grep audacious | grep -v grep > /dev/null) then if (ps aux | grep audacious | grep -v grep > /dev/null) then
pkill audacious pkill audacious
else else
hyprctl dispatch exec "[workspace 8 silent] audacious -t" hyprctl dispatch exec "[workspace 5 silent] audacious -t"
sleep 0.5 sleep 0.5
audtool playlist-repeat-status |grep "on" || audtool playlist-repeat-toggle audtool playlist-repeat-status |grep "on" || audtool playlist-repeat-toggle
audtool playlist-shuffle-status|grep "on" || audtool playlist-shuffle-toggle audtool playlist-shuffle-status|grep "on" || audtool playlist-shuffle-toggle