remove systemd unit huawei-wmi-owner
This commit is contained in:
@@ -4,7 +4,7 @@ pactl list sources | grep -qi "Mute: yes"
|
||||
state="$?"
|
||||
|
||||
if [[ "$state" == "0" ]]; then
|
||||
echo "1" >/sys/devices/platform/huawei-wmi/leds/platform::micmute/brightness
|
||||
brightnessctl -d "platform::micmute" s 1
|
||||
else
|
||||
echo "0" >/sys/devices/platform/huawei-wmi/leds/platform::micmute/brightness
|
||||
brightnessctl -d "platform::micmute" s 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user