Merge branch 'main' of https://git.snaile.de/luca/dotfiles
This commit is contained in:
commit
9c2bc359c8
|
@ -3,7 +3,8 @@
|
|||
icon="\e[11m\e[10m"
|
||||
|
||||
if command -v pacman 1>/dev/null 2>&1; then
|
||||
printf "%b" "$(pacman -Qu | grep -Fcv "[ignored]" | sed "s/^/$icon /;s/^$icon 0$//g")"
|
||||
num="$(pacman -Qu | grep -Fcv "[ignored]")"
|
||||
[ "$num" -gt 0 ] && printf "%b %i" "$icon" "$num"
|
||||
fi
|
||||
|
||||
if command -v apt 1>/dev/null 2>&1; then
|
||||
|
|
Loading…
Reference in New Issue