Upload from clipboard
dshoreman opened this issue · comments
Dave Shoreman commented
Add a --clipboard
option to enable uploading to Nextcloud directly from the system clipboard. Would likely use xclip -selection c -o
for X11, or wl-paste
(provided by wl-clipboard
) for Wayland.
Would be even better if we could simply use STDIN
:
# On X11
alias pbpaste="xclip -selection c -o"
pbpaste | nextshot
# On Wayland
wl-paste | nextshot