diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2024-04-23 09:47:54 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2024-04-23 09:48:20 +0900 |
| commit | 73a945572bf3200568834c4efe358494d507de15 (patch) | |
| tree | 0601e085ff2038e86d27e63c0b15234f4aaa0c6b /config/hypr/hypridle.conf | |
| parent | 277dc206a28a9d11fe93b1fdb9ea7926919f7e00 (diff) | |
Bump to v2.2.8 Featuring Hypridle and Hyprlock. Thanks to @SherLock707 for the configs
Diffstat (limited to 'config/hypr/hypridle.conf')
| -rw-r--r-- | config/hypr/hypridle.conf | 33 |
1 files changed, 33 insertions, 0 deletions
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. +# } |
