diff options
Diffstat (limited to 'config/X')
-rwxr-xr-x | config/X/xmonad/autostart/getvolume.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/X/xmonad/autostart/getvolume.sh b/config/X/xmonad/autostart/getvolume.sh index ee2509e..1683db8 100755 --- a/config/X/xmonad/autostart/getvolume.sh +++ b/config/X/xmonad/autostart/getvolume.sh @@ -5,16 +5,16 @@ do muted=$(pamixer --get-mute) if [[ "$muted" == "true" ]] then - icon="<fn=1></fn>" + icon="" elif [ $string -gt 49 ] then - icon="<fn=1></fn>" + icon="" elif [ $string -eq 0 ] then - icon="<fn=1></fn>" + icon="" elif [ $string -lt 50 ] then - icon="<fn=1></fn>" + icon="" fi echo "${string}% $icon" > $HOME/.config/xmobar/scripts/volume-pipe done |