changes with hypridle
This commit is contained in:
+8
-14
@@ -1,22 +1,16 @@
|
||||
listener {
|
||||
timeout = 200
|
||||
on-timeout = notify-send "You are idle!"
|
||||
on-resume = notify-send "Welcome back!"
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
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 = hyprctl dispatch "hl.dsp.dpms({action = 'off'})"
|
||||
on-resume = hyprctl dispatch "hl.dsp.dpms({action = 'on'})"
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 250 # in seconds.
|
||||
on-timeout = notify-send "You are idle!" # command to run when timeout has passed.
|
||||
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
|
||||
on-timeout = $XDG_CONFIG_HOME/hypr/scripts/screen_off.sh
|
||||
on-resume = $XDG_CONFIG_HOME/hypr/scripts/screen_on.sh
|
||||
}
|
||||
Reference in New Issue
Block a user