From 0dbb531e7d554cab94ee3615195d0c271abcd1a8 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 2e68e4e9..8814a7a4 100644 --- a/hosts/lavaridge/default.nix +++ b/hosts/lavaridge/default.nix @@ -59,8 +59,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";