From b0ed32719ebbb469d90322d6178cfc5c8f87d57b Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Wed, 28 Feb 2024 13:58:33 +0100 Subject: [PATCH] Updates --- hypr/hypridle.conf | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 4b6a08e..8c6dd45 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -7,23 +7,24 @@ # general { - # lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session) - # unlock_cmd = notify-send "unlock!" # same as above, but unlock - # before_sleep_cmd = notify-send "Zzz" # command ran before sleep - # after_sleep_cmd = notify-send "Awake!" # command ran after sleep - ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) + ignore_dbus_inhibit = false } # Screenlock listener { - timeout = 600 # in seconds + timeout = 600 on-timeout = hyprlock # command to run when timeout has passed - # on-resume = notify-send "Welcome back to your desktop!" # command to run when activity is detected after timeout has fired. + # on-resume = notify-send "Welcome back to your desktop!" } -# Suspend +# Suspend/dpms listener { - timeout = 660 # in seconds - on-timeout = systemctl suspend # command to run when timeout has passed - # on-resume = notify-send "Welcome back to your desktop!" # command to run when activity is detected after timeout has fired. + timeout = 660 + + # Laptop Settings + # on-timeout = systemctl suspend + + # Desktop Settings + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on }