diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2024-04-25 22:43:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-25 22:43:39 +0900 |
| commit | 2851f4999eb5777d5422870f30e2b0e5f9890793 (patch) | |
| tree | 8316292368e595e6fb98153aec291630c26bbe6b /config/hypr/hypridle.conf | |
| parent | 008cf215d3e02b3b86d81576b7672658c3c6533f (diff) | |
| parent | da27791de1831924aa07ba1d5b969e82affa17ec (diff) | |
Merge pull request #219 from JaKooLit/development
Development to main v2.2.8
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. +# } |
