fix turning screen off for idle

This commit is contained in:
Hannes
2026-07-24 16:34:19 +02:00
parent dd26af0c9d
commit 864fe79600
+8 -2
View File
@@ -3,10 +3,16 @@ listener {
on-timeout = hyprlock
}
# listener {
# timeout = 360
# on-timeout = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --off "$o"; done'
# on-resume = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --on "$o"; done'
# }
listener {
timeout = 360
on-timeout = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --off "$o"; done'
on-resume = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --on "$o"; done'
on-timeout = hyprctl dispatch "hl.dsp.dpms({action = 'off'})"
on-resume = hyprctl dispatch "hl.dsp.dpms({action = 'on'})"
}
listener {