devmatteini / dra

A command line tool to download release assets from GitHub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--copy flag

akimdi opened this issue · comments

Hello. Is it possible to make a --copy flag. Like here?
timvisee/ffsend@b697bc3

Then you could do it like this

dra --copy untag bcicen/ctop

Hi and thanks for checking out dra!

I like the idea and will try to implement it.
Seems that the crate used by timvisee/ffsend is not maintained anymore, but I found this one: arboard.

It turned out it was pretty easy to implement!

If you download the latest release 0.4.3 you can already try it!
You can read the docs on how to use it.

Doesn't work under Linux

Strange...I've tested it on two different machines and works fine on both Wayland and X11.

Can you paste the error message?
What distribution and display server are you using?

I use archlinux(X11)
dra deletes the previous value on the clipboard, but does not put the new value.
I am not getting any error messages.

cat /etc/os-release
uname -a | xclip -sel clip
ls
./dra --version
./dra untag --copy timvisee/ffsend

my video

Ok thanks! I'll investigate why this happens

Hi @akimdi, I've installed archlinux (with Gnome) on a VM and the --copy works fine with both X11 and Wayland.
What DE are you using?

I use i3wm.
Yes, it really works for the gnome.
But it does not work on cinnamon and i3wm. I checked.
Strange... Why such behavior?

Hi! I decided to remove this feature since I couldn't find a solution that worked reliably everywhere.

Hi! I decided to remove this feature since I couldn't find a solution that worked reliably everywhere.

I will learn for some more solutions that can solve this problem and then I will write here.