-
Notifications
You must be signed in to change notification settings - Fork 39
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
A new file is created each time Save command is performed #169
Comments
This is really on purpose based on timestamp when you save the file. We could generate an ID for each session but that could be seen as breaking change. What is wrong with the current behaviour? |
For example, in my case, I'm using swappy in sway for editing screenshot. My 2 cents: it should behave similar to any normal editor (notepad, nano, vscode, word, photoshop ... ). For the first save, if file name not existed, the app could ask for a name or generating one. Afterward, the latest contents are saved into the same file. |
Instead of implementing one specific behaviour, this could be made more general so everybody can customize this how they like: take a parameter that allows a different command to be run when an image is saved. # blah will be passed the temporary location of the saved file
swappy --save-file-with blah |
Step to reproduce:
Expectation:
Only 1 file is created
The text was updated successfully, but these errors were encountered: