Files
jitty-scripts/void-updater.sh
T

18 lines
341 B
Bash
Executable File

#!/bin/bash
while true;do
n=$(xbps-install -Mnu 2>/dev/null | wc -l)
if [ $n -gt 0 ];then
#zenity --info --title="Update Notifier - (${n})" --text="There are currently ${n} system updates available!"
notify-send "There are ${n} system updates available"
echo "There are currently ${n} updates available!"
fi
sleep 60m
done