Miniled status tweak https://github.com/seerge/g-helper/issues/1319
This commit is contained in:
Serge
2023-09-17 11:49:05 +02:00
parent dffb239ea7
commit 67a42c4a21
4 changed files with 37 additions and 12 deletions

View File

@@ -59,7 +59,7 @@ namespace GHelper.Display
public void ToogleMiniled()
{
int miniled = (AppConfig.Get("miniled") == 1) ? 0 : 1;
int miniled = (Program.acpi.DeviceGet(AsusACPI.ScreenMiniled) == 1) ? 0 : 1;
AppConfig.Set("miniled", miniled);
SetScreen(-1, -1, miniled);
}