Checks for pacman
updates every hour, and echoes the update count to /var/local/countupdates/count
.
Polybar can then read this file and display the results.
pacman-contrib
- /usr/local/lib/systemd/system/checkupdates.service
- /usr/local/lib/systemd/system/checkupdates.timer
- ~/.config/polybar/scripts/count-updates.sh
- ~/.config/polybar/config
- /etc/pacman.d/hooks/countupdates.hook
Ha, makes sense! Sorry for necro-ing a two year old gist.