Some changes in waybar and rofi
This commit is contained in:
parent
55247264fc
commit
6ff0945459
236 changed files with 675 additions and 28535 deletions
17
legacy-waybar/.config/waybar/scripts/check-updates.sh
Executable file
17
legacy-waybar/.config/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