From e878853a0005c73116b80fab050e9fc7a35e70c7 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Wed, 23 Dec 2020 16:32:51 +0100 Subject: [PATCH] updated pkg module --- roles/waybar/files/waybar/modules/pkg.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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