diff --git a/roles/waybar/files/waybar/modules/pkg.sh b/roles/waybar/files/waybar/modules/pkg.sh
index aa86729..58adb0b 100755
--- a/roles/waybar/files/waybar/modules/pkg.sh
+++ b/roles/waybar/files/waybar/modules/pkg.sh
@@ -11,8 +11,8 @@ pacman_check() {
exit 0
fi
- text="$pac $aur"
- tooltip=$(awk -v ORS='\\n' '$0=$1' <<< "$pac$aur")
+ text="$pac_count $aur_count"
+ tooltip=$(awk -v ORS=' ' '$0=$1' <<< "$pac$aur")
}
xbps_check(){
@@ -25,7 +25,7 @@ xbps_check(){
fi
text=" $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