3 ms·
Show HN: Console Daylight Hours Clock
- ok_dad 5y agoIt'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.
- godDLL 5y agoThat's the spirit! If 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
- ok_dad 5y agoSure, 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.
- godDLL 5y agoIt _is_ very nice code to look at, come to think. I would have Fish installed, if only for the scripting aspect. But do show what you come up with. I am very into how people use automation in daily life.
- godDLL 5y agoUpdated to v0.2 with less bugs and maths, more exact time FYI fish is a scripting language that doesn't have to be your shell to run this script
- godDLL 5y agoUpdated to v0.3 with optional clock and error code for scripting