twinkle-tray icon indicating copy to clipboard operation
twinkle-tray copied to clipboard

[Feature Request]consider the sunrise/sunset time of current time zone

Open kaykouo opened this issue 2 years ago • 4 comments

if twinkle-tray could consider the sunrise/sunset time of current time zone would be awesome! that means the monitor could be slowly dimmed to 0 within 60 min after sunset and turn to 50 within 60min after sunrise.

btw. does auto dark mode in the same app also possible?

kaykouo avatar Jun 23 '22 16:06 kaykouo

Sunrise time can be calculated with a formula from a provided date & latitude. Example: https://www.omnicalculator.com/physics/sunrise-sunset

There are also free APIs available. Example: https://sunrise-sunset.org/api

Someone has already done the hard work producing an Auto Dark Mode app. https://github.com/AutoDarkMode/Windows-Auto-Night-Mode But it's logic cannot simply be copied to Twinkle Tray because it's GPL-3 licenced.

wywywywy avatar Jul 07 '22 19:07 wywywywy

Any new to this fantastic feature?

SiTWulf avatar Sep 14 '22 05:09 SiTWulf

Any news indeed? Would be really lovely to have.

Dragonisser avatar Oct 07 '23 22:10 Dragonisser

@Dragonisser It's being worked on for v1.16.0

xanderfrangos avatar Oct 08 '23 01:10 xanderfrangos