Add --clipboard Flag#417
Add --clipboard Flag#417cwarden wants to merge 3 commits intoresurrecting-open-source-projects:masterfrom
Conversation
Add --clipboard flag to copy the full path to the screenshot to the clipboard.
|
Hi, thanks for contributing. Please do not modify the The idea is interesting, but I propose a solution (I think it would be simpler) using options already included in scrot -e 'echo $x | xclip -selection clipboard'Where There is a Pseudocode:
Take it as just a proposal on my part, I don't have time right now to implement it. |
|
I think So something like this already works: scrot -e 'realpath $f | xclip -selection clipboard'Adding a new format specifier that outputs the fully resolved path, like @daltomi suggested, is also okay and would remove the need to use |
these do not output full path, only the path which might be either relative or absolute. Fixes: resurrecting-open-source-projects#417 (comment)
|
I'll close this since simpler methods of achieving the same result has been suggested already.
Fixed in #419. |
these do not output full path, only the path which might be either relative or absolute. Fixes: #417 (comment)
Add --clipboard flag to copy the full path to the screenshot to the clipboard.