aboutsummaryrefslogtreecommitdiff
path: root/hypr/hypridle.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/hypridle.conf')
-rw-r--r--hypr/hypridle.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf
new file mode 100644
index 000000000..66db8c34f
--- /dev/null
+++ b/hypr/hypridle.conf
@@ -0,0 +1,11 @@
+listener {
+ timeout = 300 # 5min
+ on-timeout = hyprlock # command to run when timeout has passed
+ on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
+}
+
+listener {
+ timeout = 900 # 15min
+ on-timeout = hyprctl dispatch dpms off # command to run when timeout has passed
+ on-resume = hyprctl dispatch dpms on # command to run when activity is detected after timeout has fired.
+} \ No newline at end of file