Only show hybrid gpu toggle if hardware is available

This commit is contained in:
David Heinemeier Hansson
2026-04-22 15:05:26 +02:00
parent 57b779e249
commit 8953ee822a
3 changed files with 11 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
(($(lspci | grep -cE 'VGA|3D|Display') >= 2))