Skip to content

Natural increase and decrease of temperature/gamma #27

@sand4rt

Description

@sand4rt

By default hyprsunset uses a linear scale for temperature/gamma control. However, according to the Weber–Fechner law, human perception of sound is approximately logarithmic (base 10), not linear.

I recently submitted a pull request to Hyprland to make brightness adjustments align more closely with human perception. It would be great to see a similar feature in hyprsunset—perhaps an option like -e{number}, as found in brightnessctl:

-e, --exponent[=K]		changes percentage curve to exponential.

I also think it would be a great improvement if temperature/gamma changes were smoothly transitioned to the new level—similar to the behavior requested in this open brightnessctl issue: Hummer12007/brightnessctl#26 (comment)

Huge thanks for Hyprland and Hyprsunset btw!

source: https://konradstrack.ninja/blog/changing-screen-brightness-in-accordance-with-human-perception/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions