diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index d33896d..204be41 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -20,4 +20,5 @@ listener { listener { timeout = 600 - on-timeout = grep -qs "true" .config/hypr/enable_sleep.conf && playerctl status -s | grep -qv 'Playing' && systemctl sleep || playerctl status -s | grep -q '.*' || systemctl sleep # Only go to sleep if nothing is playing} + on-timeout = grep -qs "true" .config/hypr/enable_sleep.conf || exit 0 ; playerctl status -s | grep -qv 'Playing' && systemctl sleep || playerctl status -s | grep -q '.*' || systemctl sleep # Only go to sleep if nothing is playing +}