1
0
Fork 0
dotfiles/.local/bin/statusbar/sb-packages

10 lines
165 B
Bash
Executable File

#!/bin/sh
big="\033[11m"
reset="\033[0m"
icon=""
num="$(\xbps-install -Sun | grep -c "update")"
[ "$num" -gt 0 ] && printf "%b" "$big$icon$reset $num\n"
exit 0