From f338cfe0c8b76bfb97514d8a45c7dc53896a34b4 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Tue, 7 Nov 2023 17:43:47 -0800 Subject: [PATCH] changed gcal output format --- modules/ewwbar/eww-config/scripts/gcalinfo | 11 +++++++++++ modules/ewwbar/eww-config/scripts/moontime | 11 ----------- modules/ewwbar/eww-config/scripts/suntime | 5 ----- 3 files changed, 11 insertions(+), 16 deletions(-) create mode 100644 modules/ewwbar/eww-config/scripts/gcalinfo delete mode 100644 modules/ewwbar/eww-config/scripts/moontime delete mode 100644 modules/ewwbar/eww-config/scripts/suntime diff --git a/modules/ewwbar/eww-config/scripts/gcalinfo b/modules/ewwbar/eww-config/scripts/gcalinfo new file mode 100644 index 0000000..5cfe3cd --- /dev/null +++ b/modules/ewwbar/eww-config/scripts/gcalinfo @@ -0,0 +1,11 @@ +; ~/.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 %(+47.20-122.24,-8:00 +0 Moonset %)+47.20-122.24,-8:00 +0 Moonphase %O +; %o = sunrise %) sunset +XX-XX == lat long, ,-X:XX time-offset from UTC +0 Sunrise %o+47.20-122.24,-8:00 +0 Sunset %s+47.20-122.244,-8:00 + diff --git a/modules/ewwbar/eww-config/scripts/moontime b/modules/ewwbar/eww-config/scripts/moontime deleted file mode 100644 index 5d14eda..0000000 --- a/modules/ewwbar/eww-config/scripts/moontime +++ /dev/null @@ -1,11 +0,0 @@ -; ~/.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 -0 %(+47.20-122.24,-8:00 -0 %)+47.20-122.24,-8:00 -0 %O - diff --git a/modules/ewwbar/eww-config/scripts/suntime b/modules/ewwbar/eww-config/scripts/suntime deleted file mode 100644 index e5e991e..0000000 --- a/modules/ewwbar/eww-config/scripts/suntime +++ /dev/null @@ -1,5 +0,0 @@ -; %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 -0 %o+47.20-122.24,-8:00 -0 %s+47.20-122.244,-8:00