fix freeze eww

This commit is contained in:
2026-09-11 22:40:11 +02:00
parent 98ac3a8844
commit c8251c6f6d
12 changed files with 76 additions and 26 deletions
@@ -216,10 +216,10 @@ status_loop() {
}
case ${1:-} in
start) start "$2" ;;
stop) stop ;;
toggle) if playing; then stop; else start "$(current_id)"; fi ;;
vol) set_volume "$2" ;;
mute) toggle_mute ;;
start) detach_self "$@"; start "$2" ;;
stop) detach_self "$@"; stop ;;
toggle) detach_self "$@"; if playing; then stop; else start "$(current_id)"; fi ;;
vol) detach_self "$@"; set_volume "$2" ;;
mute) detach_self "$@"; toggle_mute ;;
*) status_loop ;;
esac