aboutsummaryrefslogtreecommitdiff
path: root/laptop/.config/hypr/hypridle.conf
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-06-10 02:24:31 +0200
committerMosder <xmosder12@gmail.com>2026-06-10 02:24:31 +0200
commit1f2824b912b22a687fb0f1c56f82198128bef1ca (patch)
treea22c4425c43fcd111c441531b21e275b1fd97f3f /laptop/.config/hypr/hypridle.conf
parenta7fab53f802c8bacfce66fb3455145835e231460 (diff)
added and updated a lot of configs + refactored it to be more accessible
Diffstat (limited to 'laptop/.config/hypr/hypridle.conf')
-rw-r--r--laptop/.config/hypr/hypridle.conf17
1 files changed, 0 insertions, 17 deletions
diff --git a/laptop/.config/hypr/hypridle.conf b/laptop/.config/hypr/hypridle.conf
deleted file mode 100644
index 1210312..0000000
--- a/laptop/.config/hypr/hypridle.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-general {
- lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
- before_sleep_cmd = loginctl lock-session # lock before suspend.
- after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
-}
-
-# after 5 min, lock
-listener {
- timeout = 300
- on-timeout = loginctl lock-session
-}
-
-# after 30 min, suspend
-listener {
- timeout = 1800
- on-timeout = systemctl suspend
-}