Use consistent bash5 style for conditionals and quoting
This commit is contained in:
1 parent
d2acf3b6ba
commit
7514ae7dcf
113 files changed
+289
-287
No files matched your search
@@ -7,7 +7,7 @@ if omarchy-hw-asus-rog; then
|
||||
|
||||
# Unmute the Master control on the ALC285 card (often muted by default)
|
||||
card=$(aplay -l 2>/dev/null | grep -i "ALC285" | head -1 | sed 's/card \([0-9]*\).*/\1/')
|
||||
if [[ -n "$card" ]]; then
|
||||
if [[ -n $card ]]; then
|
||||
amixer -c "$card" set Master 80% unmute 2>/dev/null
|
||||
fi
|
||||
fi
|
||||
Reference in new issue
Block a user