all repos — dotfiles @ b19acedfe6955508a05ab1cf72a46f3a300c04c1

linux dotfiles

i3blocks/pacupdate

1 2 3 4 5 6 7
#!/usr/bin/bash

count=$(pacman -Qu | wc -l)
icon=$(echo -en "<span font='Font Awesome 5 Free'>\uf466</span>")

[ $count -gt 0 ] && echo "<span color='#49a2d1'>$icon $count</span>" ||\
    echo ""