Comment by jdmg94
Great work! does the CLI support clipboard operations like MacOS' `pbcopy` and `pbpaste` ? I've added it to my stars to keep and eye on the project, GTK4 and wayland support makes it rather futureproof IMO
Great work! does the CLI support clipboard operations like MacOS' `pbcopy` and `pbpaste` ? I've added it to my stars to keep and eye on the project, GTK4 and wayland support makes it rather futureproof IMO
For Wayland I just use this:
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
I used to do the same thing on Xorg with xclip I thinkSwitching between macOS for job and linux for everything else, I’ve honestly never realized any difference.
I'm confused; xsel, as you might imagine from the name, is very specifically a program for manipulating the X11 selection and clipboard. So it does work on Xorg, but I'm very confused that it would work in any meaningful capacity on Wayland. Are you somehow using Xwayland?
There's wl-clipboard for this, has wl-copy and wl-paste commands. I've been using it on sway for years.