diff --git a/sunset-alarm b/sunset-alarm index be86791..a4ca1c6 100755 --- a/sunset-alarm +++ b/sunset-alarm @@ -97,10 +97,13 @@ show_alert() { TITLE="Sunset Alarm" MESSAGE="Sunset is in ${MINUTES} minute(s)." + persistent="-t 0 --wait" + icon="-i weather-clear" + if command -v fyi >/dev/null 2>&1; then - fyi "$TITLE" "$MESSAGE" + fyi $icon $persistent "$TITLE" "$MESSAGE" elif command -v notify-send >/dev/null 2>&1; then - notify-send "$TITLE" "$MESSAGE" + notify-send $icon $persistent "$TITLE" "$MESSAGE" elif command -v wall >/dev/null 2>&1; then echo "${TITLE}: ${MESSAGE}" | wall else