diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2024-04-24 15:20:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 15:20:42 +0900 |
| commit | 6352d78fd42c021094842f63a3a08b31e9177955 (patch) | |
| tree | 26bfe9901e36c204c2fe8434657c703780106b73 /config/hypr/hypridle.conf | |
| parent | 8cd047fcde9dc62f80c2afde4dc9a9c8102f4775 (diff) | |
| parent | e25a8a4f487ccb4f68682f4885262152ef955f39 (diff) | |
Merge branch 'development' into rofi
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..549f1b1c --- /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 = 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) +} + +# 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. +# } |
