Skip to content

Blue Light Filter Toggle Card#1216

Open
ItsABigIgloo wants to merge 23 commits intocaelestia-dots:mainfrom
ItsABigIgloo:hyprsunset
Open

Blue Light Filter Toggle Card#1216
ItsABigIgloo wants to merge 23 commits intocaelestia-dots:mainfrom
ItsABigIgloo:hyprsunset

Conversation

@ItsABigIgloo
Copy link

Hyprsunset has been brought up a few times. here is my take on a card for it!

image image

Whats added: the card obviously. as well as a service "Sunset.qml". this also requires an additional dependency hyprsunset.

when auto mode is active, the filter will be applied from 9pm-6am. and will default to 4200K.

when the main toggle is ON, you can see the slider and schedule toggle.
when both toggles are ON, you can only see the slider between the active hours.```

@ItsABigIgloo ItsABigIgloo reopened this Feb 24, 2026
@ItsABigIgloo ItsABigIgloo changed the title Hyprsunset Toggle Card Blue Light Filter Toggle Card Feb 25, 2026
@PixelKhaos
Copy link
Contributor

PixelKhaos commented Feb 25, 2026

As an update to this, doesn't strictly require hyprsunset anymore, but does support use of any choice between
wl-gammarelay-rs
wlsunset
gammastep
hyprsunset

Also supports autodetection fallback if no configured backend is found

Configure the choice in shell.json under services with preferredBackend

        "sunsetService": {
            "manualEnabled": false,
            "temperature": 4500,
            "preferredBackend": "wl-gammarelay-rs"
        }

@notsoeazy
Copy link
Contributor

How about renaming everything from hyprsunset/sunset/etc. to something like nightLight or blueLightFilter?

@toast1029384756
Copy link

toast1029384756 commented Feb 25, 2026

feedback: hyprsunset only updates warmth when holding still the slider, is it possible to update it in realtime?

@PixelKhaos
Copy link
Contributor

PixelKhaos commented Feb 25, 2026

feedback: hyprsunset only updates warmth when holding still the slider, is it possible to update it in realtime?

No it isn't, hyprsunset require restarting the process to start with the new values, and does a fade from default value to set value as hardcoded animation. Restarting a process on every slider value update would be insane.

the only one that updates in realtime is wl-gammarelay-rs, but you can install this backend and configure to use it just fine even having other ones installed, but the shell will only use one at a time.

@ItsABigIgloo
Copy link
Author

feedback: hyprsunset only updates warmth when holding still the slider, is it possible to update it in realtime?

This is on purpose. If hyprsunset actively updated it would fade from 6500 to the set value over and over.

It behaves this way to prevent flashing back to 6500 every step in the slider.

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

Successfully merging this pull request may close these issues.

4 participants