From 0aa5c4021e89463fa6ecfea016a14d2bfb4e7ed8 Mon Sep 17 00:00:00 2001 From: Joao Porta Date: Wed, 15 Jul 2026 11:25:25 -0300 Subject: [PATCH] powermanager config --- modules/home-manager/power-profiles/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/power-profiles/default.nix b/modules/home-manager/power-profiles/default.nix index 812123e..29209b5 100644 --- a/modules/home-manager/power-profiles/default.nix +++ b/modules/home-manager/power-profiles/default.nix @@ -29,12 +29,12 @@ let } listener { - timeout = 300 + timeout = 10 on-timeout = loginctl lock-session } listener { - timeout = 330 + timeout = 15 on-timeout = hyprctl dispatch dpms off on-resume = hyprctl dispatch dpms on } @@ -74,7 +74,7 @@ let set -euo pipefail STATE_FILE="''${XDG_STATE_HOME:-$HOME/.local/state}/power-profile" - ACTIVE_LINK="''${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hypridle.conf" + ACTIVE_LINK="''${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hypridle-active.conf" PROFILES_NORMAL="normal" PROFILES_CAFFE="caffeinated" @@ -199,6 +199,7 @@ in home.packages = [ powerProfileScript waybarScript + pkgs.hypridle ]; # We replace the default hypridle.service with our own service that is