#!/bin/bash
#=========================================#
# Simple update notifier (DNF) v0.3.8     #
#=========================================#

ICON='/usr/share/icons/hicolor/48x48/apps/simple-notifier.png'
if [ -f /usr/share/simple-notifier/scripts/update-intervals- ]; then
mv -f /usr/share/simple-notifier/scripts/update-intervals- /usr/share/simple-notifier/scripts/update-intervals
fi
sleep 1
yad --width=425 --height=90 --center --on-top --fixed \
--text="\nUpdate check is enabled logout/in to enable updates" \
--window-icon=$ICON \
--image=$ICON \
--title='Simple Update Notifier' \
--button=OK!/usr/share/simple-notifier/icons/exit.png
exit 0


