Closed Artturin closed 2 years ago
Hello @Artturin .
The logic of choosing a clipboard method / program has been rewritten. Now, if if a user wishes to override the clipboard method to use Wayland, they should simply:
export ZSH_SYSTEM_CLIPBOARD_METHOD=wlc # or wlp
See the updated README as well.
I hope this helps, regards.
https://github.com/kutsan/zsh-system-clipboard/blob/48aa32645907534ac22168399960cbe44e7334f8/zsh-system-clipboard.zsh#L44
when xwayland is used the DISPLAY var will be set at least some wayland compositors set WAYLAND_DISPLAY