Fix color and icon in volume widget

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-09-02 15:53:43 +02:00
parent 9e7d1df9bd
commit 0565b7ad07
Signed by: luzifer
GPG Key ID: 0066F03ED215AD7D

View File

@ -13,9 +13,9 @@ def main():
'pulsemixer', '--get-mute',
]).decode('utf-8').strip()) == 1
icon = '\uf9c3' if mute else '\uf9c2'
icon = '\uf6a9' if mute else '\uf6a8'
text = '{} {}%'.format(icon, minvol)
color = '#7f7f7f' if mute else ''
color = '#7f7f7f' if mute else '#ffffff'
print('\n'.join([
text,