Fix color and icon in volume widget
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9e7d1df9bd
commit
0565b7ad07
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue