ctucx.git: nixfiles

ctucx' nixfiles

commit 90f3cd470e944517151893f8505901d9c6eeffca
parent 8fc4418435c5763f585060984127ac374ce49c81
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 12 Aug 2022 16:27:22 +0200

pkgs/SpeakerDaemon: adapt dock detection to new monitor
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/SpeakerDaemon/default.nix b/pkgs/SpeakerDaemon/default.nix
@@ -35,7 +35,7 @@ let
                 printf("Sleep-Event!\n");
 
                 // check if dock is connected
-                if (system("ioreg -p IOUSB | grep 'Anker USB-C Hub Device' 1> /dev/null") != 0) break;
+                if (system("ioreg -p IOUSB | grep '3-Port USB 2.1 Hub' 1> /dev/null") != 0) break;
 
                 curl = curl_easy_init();
                 if (curl) {