Skip to content

Conversation

@eric-hansen
Copy link

I use Hyprshade for blue light filtering, and when using that the red tint shows through on the screenshots. I've been having to manually toggle the state of hyprshade, but this allows writing a script to do that automagically.

Usage:

hyprshot -P ~/.config/hypr/hyprshot_pre.sh -p ~/.config/hypr/hyprshot_post.sh --m region

~/.config/hypr/hyprshot_pre.sh:

#!/usr/bin/env bash

hyprshade off

~/.config/hypr/hyprshot_post.sh:

#!/usr/bin/env bash

hyprshade on blue-light-filter

The scripts can have anything, this is just what works for me. Since I have the filter on all the time otherwise I am not concerning myself with state management/checking of it. But I hope this helps others, too!

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.

1 participant