Closed cloudbridgeuy closed 7 months ago
I do think this is out of scope for now. Ideally, I want this to be cross-platform. I am open to it in the future but right now I am not open to it.
I will open issue to track this and add this PR as a potential solution but as of right now I will be closing this.
Makes sense. Cheers!
This might be too much or too
macOS
oriented, but I'm using it and wanted to share it.I changed the
open
option to anaction
one that takes two possible values:open
orcopy
. If you pass theopen
, it will open the image as before, but if you set it tocopy
it will try to load the image to your clipboard using anosascript
that must be available on the$PATH
and namedcopy
.Here is what that script should look like:
To simplify things, I added a
warning
message that gets printed if thecopy
command is not set.This pattern also supports other ways of copying the images, so I prefer it.
I understand if these changes need to be clarified with the project.