mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 13:23:54 -05:00
lavaridge: only trigger dynamic refresh rate with ACAD
This commit is contained in:
parent
5e9cfb9afc
commit
0dbb531e7d
|
@ -59,8 +59,8 @@
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
in ''
|
in ''
|
||||||
SUBSYSTEM=="power_supply", ATTR{online}=="1", ACTION=="change", RUN+="${hyprlandDynamicRes} 120 1"
|
SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_NAME}=="ACAD", 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}=="0", ACTION=="change", RUN+="${hyprlandDynamicRes} 60 0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
Loading…
Reference in a new issue