all repos — dotfiles @ 669106fd9f2072ed2f7224bc5c1b9ecd7fc66bd3

linux dotfiles

config/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 ""