change scripts

This commit is contained in:
Frost-Phoenix 2023-11-11 23:01:49 +01:00
parent b17ce65446
commit eefe4a4c2b

View file

@ -60,6 +60,7 @@
music = pkgs.writeShellScriptBin "music" ''
if [[ $# == 0 ]]; then
hyprctl dispatch exec "[workspace 8 silent] audacious -t"
sleep 0.5
audtool playlist-repeat-status |grep "on" || audtool playlist-repeat-toggle
audtool playlist-shuffle-status|grep "on" || audtool playlist-shuffle-toggle
elif [[ $1 == -s ]]; then