Use Omarchy command helpers consistently
This commit is contained in:
1 parent
bd34704f7b
commit
8862fb22bd
23 files changed
+54
-46
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
# omarchy:summary=Detect whether the system has an active hybrid GPU configuration
|
||||
|
||||
if command -v supergfxctl &>/dev/null; then
|
||||
if omarchy-cmd-present supergfxctl; then
|
||||
supergfxctl -s 2>/dev/null | grep -qw Hybrid
|
||||
else
|
||||
(($(lspci | grep -cE 'VGA|3D|Display') >= 2))
|
||||
|
||||
Reference in new issue
Block a user