gpakosz/.tmux

tmux uses wl-copy instead of xclip/xsel in X11 environment

orange-ramlius opened this issue · 5 comments

'"$TMUX_PROGRAM" ${TMUX_SOCKET:+-S "$TMUX_SOCKET"} save-buffer - | wl-copy' returned 1
I don't know but for some reason tmux thinks I am running Wayland. I've checked $XDG_SESSION_TYPE and it contains x11. Maybe I hadn't set some variables and because of that it doesn't work?

Hello @orange-ramlius,

The code currently doesn't look at XDG_SESSION_TYPE to pick wl-copy or xsel or xclip.

So I should set it by myself?

Can you please try the gh-719 branch?

Wow, it works now). Thanks!)