-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
accounting for directories in file path #96
accounting for directories in file path #96
Conversation
I believe this can be done with |
User will have to manually set a unique file name every time they want to save a screenshot in a particular directory . Folder flag makes it so user can just specify the folder location and file names are UNIX_TIMESTAMP-wayshot.EXTENSION |
I think this is better solved by having file flag accept paths too. That way we can automatically have the same behavior. Introducing too many flags isn't great UX. |
I have added the requested change. Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from some styling changes that can be made, commit is ok
Can you expand on this? Style looks fine to me. |
@Shinyzenith
to something like
might just be feeling picky, either way works |
cc @zubairmh Please review. |
looks good. lgtm |
Hi, CI is failing on this PR. Kindly format your patch. |
cc @Shinyzenith fixed. |
Hi, I'd like to merge this, can you resolve the conflicts? |
Done. @Shinyzenith |
Signed-off-by: Shinyzenith <[email protected]>
Thanks! However, I redid the entire documentation block to be more concise and easy to read. |
Signed-off-by: Shinyzenith <[email protected]> --------- Signed-off-by: Shinyzenith <[email protected]> Authored-by: rachancheet <[email protected]> Co-authored-by: Shinyzenith <[email protected]>
Currently Wayshot save screenshots in the current working directory. However this is not ideal as some users like to save screenshots in a particular directory(For example $HOME/Pictures/screenshots).
This PR introduces a
--folder
flag which allows users to select save directory for their screenshots.