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
118
118
119
119
# ## Linux
120
120
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)
122
123
123
124
If you have ` tmux` 1.5 or newer and are using ` xterm` , the < kbd> y< /kbd> in
124
125
` 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() {
148
148
fi
149
149
elif command_exists " clip.exe" ; then # WSL clipboard command
150
150
echo " clip.exe"
151
+ elif command_exists " wl-copy" ; then # wl-clipboard: Wayland clipboard utilities
152
+ echo " wl-copy"
151
153
elif command_exists " xsel" ; then
152
154
local xsel_selection
153
155
if [[ $mouse == " true" ]]; then
You can’t perform that action at this time.
0 commit comments