Add icon when packages are syncing
This commit is contained in:
parent
0370b179f7
commit
75a9ee9bae
@ -2,4 +2,8 @@
|
||||
|
||||
ping -q -c 1 1.1.1.1 > /dev/null || exit 1
|
||||
|
||||
echo " " > /tmp/packagesupdate
|
||||
refbar &
|
||||
pacman -Syyuw --noconfirm
|
||||
rm -f /tmp/packagesupdate
|
||||
refbar &
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
sudo reflector --latest 200 --protocol http --protocol https --sort \
|
||||
reflector --latest 200 --protocol http --protocol https --sort \
|
||||
rate --save /etc/pacman.d/mirrorlist
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo " $(pacman -Qu | wc -l)"
|
||||
icon="$(cat /tmp/packagesupdate 2>/dev/null)"
|
||||
echo " $(pacman -Qu | wc -l)$icon"
|
||||
|
Loading…
x
Reference in New Issue
Block a user