Skip to content

Add custom blur level#93

Open
albalitz wants to merge 3 commits intomeskarune:masterfrom
albalitz:custom-blur-level
Open

Add custom blur level#93
albalitz wants to merge 3 commits intomeskarune:masterfrom
albalitz:custom-blur-level

Conversation

@albalitz
Copy link
Copy Markdown

First of all thanks for this project. It looks awesome.

This adds an argument that allows setting a custom level of bluriness.
Here's a screenshot how i3lock-fancy -b 5.0 looks like:
i3lock-fancy-5 0

And one using 1.5 (the previous value and current default) for comparison:
i3lock-fancy-1 5

Comment thread lock Outdated
set -o pipefail
trap 'rm -f "$image"' EXIT
temp="$(getopt -o :hdnpglt:f: -l desktop,help,listfonts,nofork,pixelate,greyscale,text:,font: --name "$0" -- "$@")"
temp="$(getopt -o :hdnpglt:fb: -l desktop,help,listfonts,nofork,pixelate,greyscale,text:,font,blur: --name "$0" -- "$@")"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one actually needs font: because font has a required parameter.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, fixed it. Thanks for the notice.

@meskarune
Copy link
Copy Markdown
Owner

The script originally had the option for a custom blur level, but if certain blur levels are used it becomes incredibly slow so after a lot of testing one was chosen that was blurred but still fast. If you could update this to the latest master I could pull the option in. Maybe a warning in the help can be added. People with very large monitors could see significant delays in image processing times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants