Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fantastic little tool – two suggestions #6

Open
JayBrown opened this issue Jul 27, 2020 · 1 comment
Open

Fantastic little tool – two suggestions #6

JayBrown opened this issue Jul 27, 2020 · 1 comment

Comments

@JayBrown
Copy link

Thank you for this fantastic little tool. Works great on macOS with CoreLocation. Have already implemented it in a little script of my own. (Will post the link once it's up.)

Two little suggestions. The more important one would be a --floating option, i.e. don't show the sunrise and sunset for the current date, but show the previous event and the next two events, depending on the time of day. So at noon (while light) it would look like…

last sunrise: <time today>
next sunset: <time today>
next sunrise: <time tomorrow>

… and e.g. shortly after midnight (while dark) it would look like…

last sunset: <time yesterday>
next sunrise: <time today>
next sunset: <time today>

The second suggestion (less important) would be the --apparent option to calculcate not the astronomical times of sunrise and sunset, but the times of the apparent sunrises and sunsets. (Due to light refraction in the atmosphere, apparent sunset is a little later than the real sunset, and apparent sunrise is a little earlier than real sunrise.)

@JayBrown
Copy link
Author

Using sunshine here: https://github.com/JayBrown/Cuckoo-Menu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant