From fa699706209643ff06ca0d040bc03278162a7efb Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 3 Dec 2024 20:44:09 +0100 Subject: [PATCH] hyprland add hypridle config --- hprland/.config/hypr/conf/autostart.conf | 1 + hprland/.config/hypr/hypridle.conf | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 hprland/.config/hypr/hypridle.conf diff --git a/hprland/.config/hypr/conf/autostart.conf b/hprland/.config/hypr/conf/autostart.conf index 8361909..9cb6834 100644 --- a/hprland/.config/hypr/conf/autostart.conf +++ b/hprland/.config/hypr/conf/autostart.conf @@ -3,6 +3,7 @@ exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once= waybar exec-once= hyprpaper +exec-once = hypridle exec-once= swayosd-server exec-once = dunst diff --git a/hprland/.config/hypr/hypridle.conf b/hprland/.config/hypr/hypridle.conf new file mode 100644 index 0000000..eef0af7 --- /dev/null +++ b/hprland/.config/hypr/hypridle.conf @@ -0,0 +1,5 @@ +listener { + timeout = 330 # 5.5min + on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed + on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. +}