jtheoof / swappy

A Wayland native snapshot editing tool, inspired by Snappy on macOS
MIT License
1k stars 40 forks source link

[FEATURE REQUEST] Auto-Copy to Clipboard #167

Open JosTheDude opened 6 months ago

JosTheDude commented 6 months ago

Hey! I don't know too much C but love Swappy's functionality and simplicity so figured I'd make a feature request here and possibly attempt a PR with my (limited) C knowledge later on if it's not possible.

Essentially, similar to ShareX for a config option to have screenshots with swappy automatically copied to the clipboard and not open the panel unless the notification is clicked / hotkey is run.

jtheoof commented 6 months ago

Thanks for the suggestion but I'm not sure this would be particularly useful. There are other tools to that. Plus the notification has been removed some time ago and once swappy is closed there is no way to bring it back up besides creating a new instance.

JosTheDude commented 6 months ago

Hey! Thanks for the quick reply.

May I ask what other tools support this that you may know of?

I just figured just insta-copying to clipboard once an SS is made may make things easier for people; as I typically just close the panel after copying so just closing it and knowing it's in my clipboard. Essentially would be more of a QoL change.

But regardless, pretty fine without it regardless as it's quite minor, no harm in asking though.

Thank you for the awesome tool!

ConstBur commented 6 months ago

I'd love to have this feature, even without the notification popup, for e.g. a keyboard shortcut. I used to set one up for KDE's Spectacle like so: "spectacle -rbcn" (rectangle region, background, copy to clipboard, no notification), which is essentially what @JosTheDude suggested.

tkna91 commented 3 months ago

After outputting the file, it can be copied as follows

wl-copy < $file