Split regular and AUR updates (polybar)

master
Quentin Duchemin 2019-11-18 23:09:46 +01:00
parent cc4da93e10
commit fc6c55ed5e
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ if [ $? -eq 0 ]; then
updates_aur=$(/usr/bin/checkupdates-aur | wc -l)
updates=$(("$updates_arch" + "$updates_aur"))
if [ "$updates" -gt 0 ]; then
echo "%{F#dd7777}%{F#ddd} $updates"
echo "%{F#dd7777}%{F#ddd} $updates_arch | $updates_aur"
else
echo "%{F#77dd77}%{F#ddd} 0"
fi