Open graves501 opened 7 months ago
When utilizing the --wait flag, the condition gets fulfilled AFTER taking the screenshot. Moving the conditional up fixed this issue.
--wait
Tested with this command:
grimshot --notify --wait 3 savecopy anything "$HOME/Pictures/$(date +"%Y-%m-%d_%H-%M-%S").png"
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?
When utilizing the
--wait
flag, the condition gets fulfilled AFTER taking the screenshot. Moving the conditional up fixed this issue.Tested with this command: