fix: stupid error with double negation
This commit is contained in:
@@ -4,7 +4,7 @@ pactl list sources | grep -qi "Mute: yes"
|
|||||||
state="$?"
|
state="$?"
|
||||||
|
|
||||||
if [[ "$state" == "0" ]]; then
|
if [[ "$state" == "0" ]]; then
|
||||||
echo "0" >/sys/devices/platform/huawei-wmi/leds/platform::micmute/brightness
|
|
||||||
else
|
|
||||||
echo "1" >/sys/devices/platform/huawei-wmi/leds/platform::micmute/brightness
|
echo "1" >/sys/devices/platform/huawei-wmi/leds/platform::micmute/brightness
|
||||||
|
else
|
||||||
|
echo "0" >/sys/devices/platform/huawei-wmi/leds/platform::micmute/brightness
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user