1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

updated pkg module

This commit is contained in:
eoli3n 2020-12-23 16:32:51 +01:00
parent 3c2fa7eb8b
commit e878853a00

@ -11,8 +11,8 @@ pacman_check() {
exit 0 exit 0
fi fi
text="$pac <span foreground='#929292'></span> $aur" text="$pac_count <span foreground='#929292'></span> $aur_count"
tooltip=$(awk -v ORS='\\n' '$0=$1' <<< "$pac$aur") tooltip=$(awk -v ORS=' ' '$0=$1' <<< "$pac$aur")
} }
xbps_check(){ xbps_check(){
@ -25,7 +25,7 @@ xbps_check(){
fi fi
text="<span foreground='#929292'></span> $pkg_count" text="<span foreground='#929292'></span> $pkg_count"
tooltip=$(awk -v ORS='\\n' '$0=$1' <<< "$pkg") tooltip=$(awk -v ORS=' ' '$0=$1' <<< "$pkg")
} }
if grep -i "arch" /etc/os-release &>/dev/null if grep -i "arch" /etc/os-release &>/dev/null