~kennylevinsen/wlsunset-devel

1

Feature Request: get/return sun set/rise data for current location

Andrés González <gonzalez.af@pm.me>
Details
Message ID
<ljtbeQ9J1gzAFwsOCmj9THAy9ze15fhreRzAaoc15Gjyb-Ax55f6HT-gDqYf1BVvDTKc0nFHNn5EFLNtdfBQKrGYAoE1KRb7bmt69is_yXs=@pm.me>
DKIM signature
missing
Download raw message
Hello Kenny,

I've migrated from gammastep to wlsunset, thanks for your work on this. There is one use of gammastep that I would like to know if is at all possible with wlsunset, that is to determine if it's day or night (gammastep -p). I use this to determine dark/light themes for certain applications I use on launch.

When the service is running, it would be great to query the application and get any data that would allow one to determine if it's day time or night time. From reading the help, it seems that both sunset and sunrise are automatically set and known according to the lat/long.

Do you think this might be possible without much of a hassle?

Thanks much in advance,

--
-andrés
Details
Message ID
<99NYOR.C4HULHE44Q3T1@kl.wtf>
In-Reply-To
<ljtbeQ9J1gzAFwsOCmj9THAy9ze15fhreRzAaoc15Gjyb-Ax55f6HT-gDqYf1BVvDTKc0nFHNn5EFLNtdfBQKrGYAoE1KRb7bmt69is_yXs=@pm.me> (view parent)
DKIM signature
missing
Download raw message
I originally thought it would be a little dirty to make wlsunset a 
swiss army knife for color temperature things, but I suppose there is 
minimal harm in making it run a hook on the side.

Designing the hook becomes the next question though. One might want to 
have simple day/night hooks, or kelvin hooks that get called repeatedly 
when temperature changes...
Reply to thread Export thread (mbox)