From 25df5a059f345d3d386e0050f32c68073d379c71 Mon Sep 17 00:00:00 2001 From: silvernode Date: Sun, 3 Apr 2016 07:27:51 -0700 Subject: [PATCH] void linux update notifier --- Bash Scripts/void-updater.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 Bash Scripts/void-updater.sh diff --git a/Bash Scripts/void-updater.sh b/Bash Scripts/void-updater.sh new file mode 100755 index 0000000..1140f02 --- /dev/null +++ b/Bash Scripts/void-updater.sh @@ -0,0 +1,16 @@ +#!/bin/bash +nohup xbps-install -S +n=`xbps-install -Snu | wc -l` + +while true;do + + if [ $n -gt 0 ];then + + zenity --info --title="Update Notifier - (${n})" --text="There are currently ${n} system updates available!" + echo "There are currently "${n}" updates available!" + + fi + + sleep 60m + +done