Skip to content

Add latitude and longitude options in the hueshift block #1338

@DerVerruckteFuchs

Description

@DerVerruckteFuchs

A number of the color shifters have options for setting latitude and longitude for setting color shifting on time of day. It would be nice to have some config options in the hueshift block to set them. There could also be an option to enable/disable automatic color adjustment. When automatic color adjustment is enabled, scrolling can adjust min/max temp based on time of day. During day, have scroll adjust the max temp. During night, have scroll adjust the min temp. Otherwise, there could be an option to disable scroll adjustments and/or click temp, and just let auto color adjustment do its thing.

The hueshift block will need to do some extra things to get this to work:

  • Keep track of when sunset is (wlsunset outputs dawn, sunrise, sunset, and dusk times to the terminal at start)
  • Get current temp as auto adjustment is occurring (wlsunset outputs current temp to terminal during shift)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions