generated from me/template-mit
Get the time from epoch of when the sunset is.
This commit is contained in:
1 parent
f671e3d94d
commit
35db6c2c5f
1 file changed
+1
-1
+1
-1
@@ -95,7 +95,7 @@ fetch_sunset_time() {
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
show_alert() {
|
show_alert() {
|
||||||
TITLE="Sunset Alarm"
|
TITLE="Sunset Alarm"
|
||||||
MESSAGE="Sunset is in ${MINUTES} minute(s)."
|
MESSAGE="Sunset is at $(date -d @${SUNSET_EPOCH} +"%H:%M")."
|
||||||
|
|
||||||
persistent="-t 0 --wait"
|
persistent="-t 0 --wait"
|
||||||
icon="-i weather-clear -u critical"
|
icon="-i weather-clear -u critical"
|
||||||
|
|||||||
Reference in new issue
Block a user