Update to Latest
This commit is contained in:
parent
d1bbbcbb15
commit
71d6a8ab3b
157 changed files with 3467 additions and 5151 deletions
17
waybar/scripts/check-updates.sh
Executable file
17
waybar/scripts/check-updates.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
# !/usr/bash
|
||||
|
||||
sleep 60s
|
||||
|
||||
PACMAN_UPDATES_COUNT=$( checkupdates | wc -l)
|
||||
|
||||
sleep 30s
|
||||
|
||||
AUR_UPDATES_COUNT=$(pacman -Qm | aur vercmp | wc -l)
|
||||
|
||||
sleep 30s
|
||||
|
||||
TOTAL_UPDATES_COUNT=$((PACMAN_UPDATES_COUNT+AUR_UPDATES_COUNT))
|
||||
|
||||
if [ $TOTAL_UPDATES_COUNT -gt 0 ] ; then
|
||||
echo -e "\uf019"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue