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

Fix wait check #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix wait check #26

wants to merge 1 commit into from

Conversation

graves501
Copy link

When utilizing the --wait flag, the condition gets fulfilled AFTER taking the screenshot.
Moving the conditional up fixed this issue.

Tested with this command:

grimshot --notify --wait 3 savecopy anything "$HOME/Pictures/$(date +"%Y-%m-%d_%H-%M-%S").png"

@OctopusET
Copy link
Owner

IMHO, I don't think it's a bug. wait feature is used for setting the location for screenshot first, and wait, then screenshot.

Can you explain more about your use case for this patch?

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.

2 participants