fix turning screen off for idle
This commit is contained in:
+8
-2
@@ -3,10 +3,16 @@ listener {
|
|||||||
on-timeout = hyprlock
|
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 {
|
listener {
|
||||||
timeout = 360
|
timeout = 360
|
||||||
on-timeout = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --off "$o"; done'
|
on-timeout = hyprctl dispatch "hl.dsp.dpms({action = 'off'})"
|
||||||
on-resume = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --on "$o"; done'
|
on-resume = hyprctl dispatch "hl.dsp.dpms({action = 'on'})"
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
|
|||||||
Reference in New Issue
Block a user