summaryrefslogtreecommitdiff
path: root/.config/hypr/hypridle.conf
diff options
context:
space:
mode:
authorJack Jamison <53350163+JackJ30@users.noreply.github.com>2024-11-09 14:09:38 -0500
committerGitHub <noreply@github.com>2024-11-09 14:09:38 -0500
commit2d4198da6a59e52278255d22e7aba394b3ce1688 (patch)
treee16ab66261797c06580679daffc13ef1b6ffd0cb /.config/hypr/hypridle.conf
parente70986a9c299f004aa290bde0ec430ca864f7e74 (diff)
parentddd43ed96249932652c7427dbdbbac92e5ef49ed (diff)
Merge pull request #1 from JackJ30/laptop
Merge Laptop, it's my main workspace now
Diffstat (limited to '.config/hypr/hypridle.conf')
-rw-r--r--.config/hypr/hypridle.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf
new file mode 100644
index 0000000..d871778
--- /dev/null
+++ b/.config/hypr/hypridle.conf
@@ -0,0 +1,9 @@
+general {
+ before_sleep_cmd = pidof hyprlock || hyprlock
+ after_sleep_cmd = hyprctl dispatch dpms on
+}
+
+listener {
+ timeout = 300 # 5min
+ on-timeout = systemctl suspend
+}