From 948ddd0957f00fdcb4c2070804b90f13a2bc48d8 Mon Sep 17 00:00:00 2001 From: Viyurz Date: Thu, 21 Mar 2024 14:41:12 +0100 Subject: [PATCH] Hypridle: Dim screen after 4 minutes of inactivity. --- .config/hypr/hypridle.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index e235a7e..69a85b8 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -4,6 +4,13 @@ general { after_sleep_cmd = hyprctl dispatch dpms on } +# Dim screen after 4min +listener { + timeout = 240 + on-timeout = brightnessctl -s set 10 + on-resume = brightnessctl -r +} + # Lock after 5min listener { timeout = 300