fix freeze eww
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user