This commit is contained in:
Yannick7777 2024-08-20 00:25:13 +02:00
parent 702bbe728b
commit 8f49a17e13

View file

@ -20,4 +20,4 @@ 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 '.*' || systelctl sleep # Only go to sleep if nothing is playing}
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}