summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-02-27 13:16:02 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-02-27 13:16:02 +0100
commit6336508b9def73d36f5543433858bcb7a176f9d1 (patch)
tree98b929c4c3b94ed071e6b864622b7d5f6b8ce10e
parent36391d8a40ac16fcffd17f28f0cec118ec3b6039 (diff)
font should happen in xmobar
-rwxr-xr-xconfig/X/xmonad/autostart/getvolume.sh8
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