Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add blue light filter #1248

Closed
rubiin opened this issue Apr 5, 2024 · 4 comments
Closed

[Feature Request]: Add blue light filter #1248

rubiin opened this issue Apr 5, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@rubiin
Copy link
Contributor

rubiin commented Apr 5, 2024

Feature Request

Description

Coming from kde , I do miss the night light feature. Is it possible to add

Use Case

[Describe how this feature would be useful to you or to other users of the project.]

Proposed Solution

Use something like redshift

Alternatives

[Are there any alternative solutions or workarounds that you've considered? If so, describe them here.]

Additional Information

[Add any other information about the feature request here. For example, you might include links to similar features in other projects, or screenshots or diagrams to help explain your idea.]

@rubiin rubiin added the enhancement New feature or request label Apr 5, 2024
@Enigma1309
Copy link
Contributor

use hyprshade

  • install it via
    yay -S hyprshade

  • add this line to you userprefs.conf
    exec=hyprshade auto

  • make hyprshade.toml in ~/.config/hypr/
    and put the following code in it

[[shades]]
name = "blue-light-filter"
start_time = 18:00:00
end_time = 07:00:00

you can customize it even more see

  • enable hyprshade
    hyprshade install
    systemctl --user enable --now hyprshade.timer

here's my custom config (in hyprshade.toml)

[[shades]]
name = "vibrance"
default = true

[[shades]]
name = "blue-light-filter"
start_time = 18:00:00
end_time = 07:00:00

and custom key-bind in userprefs.toml (in case i have to turn it off manually)
image


in case something don't work refer to the the hyprshade repo

@rubiin
Copy link
Contributor Author

rubiin commented Apr 5, 2024

thanks works like charm

@rubiin rubiin closed this as completed Apr 5, 2024
@celikj
Copy link

celikj commented Jul 27, 2024

mouse cursor doesnt change with this

@Enigma1309
Copy link
Contributor

yeah it uses hyprland screenshader feature as an bluelight switcher which currently does not support mouse shading.

i think it won't matter unless you're using a very huge mouse font, in that case look for alternatives like #1616 (i haven't tested them so i'm not fully sure if it works or not)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants