From e4450bf25ac0162182b481a58ae128f163ae718e Mon Sep 17 00:00:00 2001 From: tomoron Date: Tue, 26 Nov 2024 17:06:08 +0100 Subject: [PATCH] show dgpu as on when in Vfio mode --- modules/waybar.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/waybar.nix b/modules/waybar.nix index 8484726..2cba128 100644 --- a/modules/waybar.nix +++ b/modules/waybar.nix @@ -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;