mic led hack no longer needed
This commit is contained in:
@@ -105,10 +105,8 @@ class Mic(widget.base._TextBox):
|
||||
def _update_drawer(self):
|
||||
if self.emoji:
|
||||
if self.volume > 0:
|
||||
subprocess.call([os.path.expanduser('~/.config/qtile/mic_led.sh'), "0"])
|
||||
self.text = ''
|
||||
elif self.volume <= 0:
|
||||
subprocess.call([os.path.expanduser('~/.config/qtile/mic_led.sh'), "1"])
|
||||
self.text = ''
|
||||
else:
|
||||
if self.volume == -1:
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
echo $1 | tee /sys/devices/platform/thinkpad_acpi/leds/platform::micmute/brightness
|
||||
Reference in New Issue
Block a user