From 73a945572bf3200568834c4efe358494d507de15 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 23 Apr 2024 09:47:54 +0900 Subject: Bump to v2.2.8 Featuring Hypridle and Hyprlock. Thanks to @SherLock707 for the configs --- config/hypr/hypridle.conf | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 config/hypr/hypridle.conf (limited to 'config/hypr/hypridle.conf') diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf new file mode 100644 index 00000000..7b8ce812 --- /dev/null +++ b/config/hypr/hypridle.conf @@ -0,0 +1,33 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # +# Hypridle +# Original config submitted by https://github.com/SherLock707 + + +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) +} + +# Warn +listener { + timeout = 540 # 9 min + 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. +} + +# Screenlock +listener { + timeout = 600 # 10 min + 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. +} + +# Suspend # disabled by default +# listener { + # timeout = 1200 # 20 min + # 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. +# } -- cgit v1.2.3 From d9f5d66504336a361cb59ac96591b774288938c4 Mon Sep 17 00:00:00 2001 From: Kiran George Date: Wed, 24 Apr 2024 08:13:03 +0530 Subject: Updated hypridle to launch hyprlock before sleep to have hyprlock open when waking up from suspend --- config/hypr/hypridle.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr/hypridle.conf') diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf index 7b8ce812..549f1b1c 100644 --- a/config/hypr/hypridle.conf +++ b/config/hypr/hypridle.conf @@ -6,7 +6,7 @@ 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 + before_sleep_cmd = hyprlock # 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) } -- cgit v1.2.3