fix wl-copy issue

This commit is contained in:
Yan Lin 2025-10-20 23:07:03 +02:00
parent d3c20cbbb8
commit 5826ee52fc
2 changed files with 3 additions and 1 deletions

View file

@ -79,7 +79,7 @@
bind-key -T copy-mode-vi y if-shell 'command -v pbcopy' \
'send-keys -X copy-pipe-and-cancel "pbcopy"' \
'if-shell "test -n \"$WAYLAND_DISPLAY\"" \
"send-keys -X copy-pipe-and-cancel \"wl-copy\"" \
"send-keys -X copy-pipe-and-cancel \"wl-copy --foreground\"" \
"send-keys -X copy-pipe-and-cancel \"xclip -selection clipboard\""'
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle