We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i used to use a fork of i3lock that had a dimblur effect option.
dimblur
it would be great to be able to combine the existing blur effect with a new dim effect.
blur
dim
would this be reasonable to add?
The text was updated successfully, but these errors were encountered:
I think you can achieve a similar effect using effect-vignette. Set "factor" as 0 and "base" as the dim ratio (0 -- black, 1 -- original color)
effect-vignette
Here is a clip of the related code, you can look at it and see if it match your needs. If you want more detail, this code is in effect.c, at line 326.
double xf = (x * 1.0) / width; double yf = (y * 1.0) / height; double vignette_factor = base + factor * 16 * xf * yf * (1.0 - xf) * (1.0 - yf); r = (int)(r * vignette_factor) & 0xFF; g = (int)(g * vignette_factor) & 0xFF; b = (int)(b * vignette_factor) & 0xFF;
Sorry, something went wrong.
No branches or pull requests
i used to use a fork of i3lock that had a
dimblur
effect option.it would be great to be able to combine the existing
blur
effect with a newdim
effect.would this be reasonable to add?
The text was updated successfully, but these errors were encountered: