diff options
Diffstat (limited to 'hyprland/hypridle.conf')
| -rw-r--r-- | hyprland/hypridle.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hyprland/hypridle.conf b/hyprland/hypridle.conf new file mode 100644 index 0000000..3e6b5bf --- /dev/null +++ b/hyprland/hypridle.conf @@ -0,0 +1,21 @@ +general { + lock_cmd = pidof hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session + after_sleep_cmd = hyprctl dispatch dpms on +} + +listener { + timeout = 300 + on-timeout = notify-send 'Power' 'System will suspend soon due to inactivity' +} + +listener { + timeout = 310 + on-timeout = loginctl lock-session +} + +listener { + timeout = 320 + on-timeout = systemctl suspend +} + |
