Open zefr0x opened 1 year ago
Also a linux user, and use wl-clipboard. The only reason I have xclip
on my system is because of silicon. Would definitely appreciate if the code took Wayland into account.
I am on Ubuntu 24.04 Wayland, wl-clipboard was not installed by default and silicon just failed, it should check if wl-clipboard is installed just like it does with xclip
Regarding this function: https://github.com/Aloxaf/silicon/blob/cf3668c9ee43ebdae608db3f7b3449c588b8411f/src/bin/silicon/main.rs#L25-L40
In Linux the
xclip
command just work onX11
, notWayland
.Options:
xclip
could be an optional dependency alongside withwl-clipboard
, and warn the user if he don't have any one of them.X11
andWayland
without using an external tool.Wayland
and deprecatingX11
support using 1 or 2.