From c540481dbdabc07ffde273e20d8509a8458a53e3 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Mon, 6 Nov 2023 19:42:40 -0800 Subject: [PATCH] gcal resource files set up --- modules/ewwbar/eww-config/scripts/moontime | 8 ++++++++ modules/ewwbar/eww-config/scripts/suntime | 3 +++ 2 files changed, 11 insertions(+) diff --git a/modules/ewwbar/eww-config/scripts/moontime b/modules/ewwbar/eww-config/scripts/moontime index e69de29..0d6204c 100644 --- a/modules/ewwbar/eww-config/scripts/moontime +++ b/modules/ewwbar/eww-config/scripts/moontime @@ -0,0 +1,8 @@ +; ~/.gcal/astronomical +; %( = moonrise %) moonset +XX-XX == lat long, ,-X:XX time-offset from UTC +; gcal --resource-file= -H no -ox +; -H no == no highlight -ox don't show date on every line +0 Moonrise is at %(+47.20-122.24,-8:00 +0 Moonset is at %)+47.20-122.24,-8:00 +0 Moon phase %O + diff --git a/modules/ewwbar/eww-config/scripts/suntime b/modules/ewwbar/eww-config/scripts/suntime index e69de29..7b663a8 100644 --- a/modules/ewwbar/eww-config/scripts/suntime +++ b/modules/ewwbar/eww-config/scripts/suntime @@ -0,0 +1,3 @@ +; %o = sunrise %) sunset +XX-XX == lat long, ,-X:XX time-offset from UTC +0 Sunrise is at %o+47.20-122.24,-8:00 +0 Sunset is at %s+47.20-122.244,-8:00