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

grimshot: exclude hyprland shaders tint from screenshot #128

Open
jncsotk30 opened this issue Feb 1, 2025 · 7 comments
Open

grimshot: exclude hyprland shaders tint from screenshot #128

jncsotk30 opened this issue Feb 1, 2025 · 7 comments

Comments

@jncsotk30
Copy link

Would it be possible to add a flag to exclude any hyprshade shaders from the screenshot taken(capture area | output, window, region etc)? Same thing for wlsunset. I usually have hyprshade running with a blue-light-filter, and when I screenshot, it includes that shader and duplicates the effect making the screenshot even more orange from the shader. I have to disable hyprshade first before screenshotting and it's rather jarring experience to screenshot.

hyprshade enabled...

Image

hyprshade disabled...

Image

@jncsotk30 jncsotk30 changed the title Exclude hyprland shaders tint from screenshot grimshot: exclude hyprland shaders tint from screenshot Feb 1, 2025
@fufexan
Copy link
Member

fufexan commented Feb 1, 2025

IIRC hyprland auto-disables shaders for screenshots. Are you using nvidia?

@jncsotk30
Copy link
Author

IIRC hyprland auto-disables shaders for screenshots. Are you using nvidia?

Yes, I am. Is there a property to include in the config for this to work? Also, is it a specific tool like hyprshot, grimblast etc that Hyprland accounts for to disable shaders?

@fufexan
Copy link
Member

fufexan commented Feb 2, 2025

I don't think so. I believe the protocol knows when e.g. grim is taking a screenshot, but I'm not certain. This is what I've read on the discord, mentioned by some users with similar issues.

@vaxerski correct me if I'm wrong.

@vaxerski
Copy link
Member

vaxerski commented Feb 3, 2025

we dont exclude screen shaders from screenshots

@jncsotk30
Copy link
Author

jncsotk30 commented Feb 3, 2025

we dont exclude screen shaders from screenshots

Thank you for the response. Would this doable to add some property to exclude shaders from screenshots?

@vaxerski
Copy link
Member

vaxerski commented Feb 4, 2025

not without a performance hit

@strawbberrys
Copy link

strawbberrys commented Feb 21, 2025

this is something i would like to see done as well, since i use screen shaders for lowering monitor brightness farther than the limit. it makes every screenshot i take very dark. This probably would fit more as a hyprland request than a grimshot issue though.

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

No branches or pull requests

4 participants