diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-02-27 13:16:02 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-02-27 13:16:02 +0100 |
commit | 6336508b9def73d36f5543433858bcb7a176f9d1 (patch) | |
tree | 98b929c4c3b94ed071e6b864622b7d5f6b8ce10e /config/X/xmonad/autostart/getvolume.sh | |
parent | 36391d8a40ac16fcffd17f28f0cec118ec3b6039 (diff) |
font should happen in xmobar
Diffstat (limited to 'config/X/xmonad/autostart/getvolume.sh')
-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 |