change scripts

This commit is contained in:
Frost-Phoenix 2023-11-13 00:16:48 +01:00
parent be42d058cb
commit 27e0c22bae
10 changed files with 86 additions and 72 deletions

View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
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
pkill audacious
else
echo "[ERROR] => Wrong argument..."
fi