From 47d9c12a8f89a370af5c026a3f2443fb6045afe3 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Tue, 31 Dec 2024 00:45:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9B=20Quick=20fix=20\n=20Added=20Hypri?= =?UTF-8?q?dle=20to=20exec-once=20and=20changed=20timeout=20from=205=20to?= =?UTF-8?q?=201200=20seconds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/hyprland/hypridle/default.nix | 2 +- home/hyprland/hyprland.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/home/hyprland/hypridle/default.nix b/home/hyprland/hypridle/default.nix index e11844f..244404f 100644 --- a/home/hyprland/hypridle/default.nix +++ b/home/hyprland/hypridle/default.nix @@ -16,7 +16,7 @@ on-timeout = "hyprlock"; } { - timeout = 5; + timeout = 1200; on-timeout = "hyprctl dispatch dpms off"; on-resume = "hyprctl dispatch dpms on"; } diff --git a/home/hyprland/hyprland.conf b/home/hyprland/hyprland.conf index a7be463..654c8f0 100644 --- a/home/hyprland/hyprland.conf +++ b/home/hyprland/hyprland.conf @@ -50,6 +50,10 @@ exec-once = systemctl --user start hyprpolkitagent # Notification deamon exec-once = swaync +# Idle after predetermined amount of time +exec-once = hypridle + + ############################# ### ENVIRONMENT VARIABLES ### #############################