updated scrren off

This commit is contained in:
Hannes
2026-06-14 00:55:08 +02:00
parent c1ba3fbd0a
commit 6082fb92a9
+6 -20
View File
@@ -1,24 +1,10 @@
# _____ __ __ _____ _____ __ _____ _____ _____
# | | | | | _ | __ | | | | | | |
# | |_ _| __| -| |__| | | --| -|
# |__|__| |_| |__| |__|__|_____|_____|_____|__|__|
#
# by Bina
listener {
timeout = 300
timeout = 300
on-timeout = hyprlock
}
# listener {
# timeout = 360
# on-timeout = hyprctl dispatch dpms off
# on-resume = hyprctl dispatch dpms on && \
# (pgrep -x floorp >/dev/null || floorp &) && \
# (pgrep -x librewolf >/dev/null || librewolf &)
#
# }
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'
}