From 365b241c7d24c3d27632463ce1cf749c82bec706 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 7 Nov 2024 20:17:47 -0500 Subject: [PATCH] lavaridge: only trigger dynamic refresh rate with ACAD --- hosts/lavaridge/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/lavaridge/default.nix b/hosts/lavaridge/default.nix index e8826012..796681e4 100644 --- a/hosts/lavaridge/default.nix +++ b/hosts/lavaridge/default.nix @@ -61,8 +61,8 @@ done ''; in '' - SUBSYSTEM=="power_supply", ATTR{online}=="1", ACTION=="change", RUN+="${hyprlandDynamicRes} 120 1" - SUBSYSTEM=="power_supply", ATTR{online}=="0", ACTION=="change", RUN+="${hyprlandDynamicRes} 60 0" + SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_NAME}=="ACAD", ATTR{online}=="1", ACTION=="change", RUN+="${hyprlandDynamicRes} 120 1" + SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_NAME}=="ACAD", ATTR{online}=="0", ACTION=="change", RUN+="${hyprlandDynamicRes} 60 0" ''; system.stateVersion = "24.05";