if [ -e ~/.instantautostart ]; then
bash ~/.instantautostart &
fi
+
+# update notifier
+if ! iconf -i noupdates; then
+ sleep 2m
+ if checkinternet; then
+ instantupdatenotify
+ else
+ if command -v checkinternet; then
+ while :; do
+ sleep 5m
+ if checkinternet; then
+ instantupdatenotify
+ break
+ fi
+ done
+ fi
+ fi
+fi
# check for updates and add a little notification to the top offering to install them
+if ! command -v pacman; then
+ echo "not on an arch system"
+ exit
+fi
+
UPDATECOUNT="$(checkupdates | wc -l)"
if ! [ "$UPDATECOUNT" -gt 1 ]; then