From 0565b7ad07d9e7d255afe053a3334518c27083dc Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 2 Sep 2022 15:53:43 +0200 Subject: [PATCH] Fix color and icon in volume widget Signed-off-by: Knut Ahlers --- .config/i3blocks/volume | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/i3blocks/volume b/.config/i3blocks/volume index 3ab0d55..45f5525 100755 --- a/.config/i3blocks/volume +++ b/.config/i3blocks/volume @@ -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,