mic led hack no longer needed

This commit is contained in:
paul-loedige
2021-11-12 18:37:37 +01:00
parent 5ceebd5f61
commit 9e6f451a20
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -105,10 +105,8 @@ class Mic(widget.base._TextBox):
def _update_drawer(self): def _update_drawer(self):
if self.emoji: if self.emoji:
if self.volume > 0: if self.volume > 0:
subprocess.call([os.path.expanduser('~/.config/qtile/mic_led.sh'), "0"])
self.text = '' self.text = ''
elif self.volume <= 0: elif self.volume <= 0:
subprocess.call([os.path.expanduser('~/.config/qtile/mic_led.sh'), "1"])
self.text = '' self.text = ''
else: else:
if self.volume == -1: if self.volume == -1:
-2
View File
@@ -1,2 +0,0 @@
#!/bin/sh
echo $1 | tee /sys/devices/platform/thinkpad_acpi/leds/platform::micmute/brightness