It's in fish, so I can't use it myself (zsh), but I like this idea because where I live it's hot right up until about 45 minutes to sunset and everyone, including my family, goes out for a walk right at that "cool time of the day". I'm going to write a similar one for myself that I can use to find out when "walk time" is, thanks for the idea.
Sure, I can try, but it's definitely going to be a hacky, one-trick-pony script for my personal use, haha. I was more saying I would "rewrite" the idea of your script (it's very nice code, btw) into something for my walk time management.
6 comments
[ 21.0 ms ] story [ 46.0 ms ] threadIf you are successful, and it is a literal translation I'd like to add it as Suntime.ZSH
If you end up formatting it differently, or doing it significantly differently I'd still like to see it.
Can you please report back here when, and if you get to do it? I'd like to see how it went. <3
But do show what you come up with. I am very into how people use automation in daily life.
FYI fish is a scripting language that doesn't have to be your shell to run this script