File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,8 @@ $ sudo port install tmux-pasteboard
118118
119119# ## Linux
120120
121- - ` xsel` (recommended) or ` xclip` .
121+ - ` xsel` (recommended) or ` xclip` (for X).
122+ - ` wl-copy` from [wl-clipboard](https://github.com/bugaevc/wl-clipboard) (for Wayland)
122123
123124If you have ` tmux` 1.5 or newer and are using ` xterm` , the < kbd> y< /kbd> in
124125` copy-mode` and mouse selection will work without ` tmux-yank` . See the
Original file line number Diff line number Diff line change @@ -148,6 +148,8 @@ clipboard_copy_command() {
148148 fi
149149 elif command_exists " clip.exe" ; then # WSL clipboard command
150150 echo " clip.exe"
151+ elif command_exists " wl-copy" ; then # wl-clipboard: Wayland clipboard utilities
152+ echo " wl-copy"
151153 elif command_exists " xsel" ; then
152154 local xsel_selection
153155 if [[ $mouse == " true" ]]; then
You can’t perform that action at this time.
0 commit comments