show dgpu as on when in Vfio mode

This commit is contained in:
2024-11-26 17:06:08 +01:00
parent 60777fef60
commit e4450bf25a

View File

@ -144,7 +144,7 @@
};
"custom/dgpu" = {
exec-if = "test \"$(supergfxctl -g)\" = \"Hybrid\"";
exec-if = "test \"$(supergfxctl -g)\" = \"Hybrid\" || test \"$(supergfxctl -g)\" = \"Vfio\"";
exec = "echo \" on |\"";
interval-if = 10;
interval =100;