Add compatability with some ubuntu oddities

This commit is contained in:
2026-04-14 22:14:50 -07:00
parent 378ec986a2
commit d4f6f279c1
5 changed files with 26 additions and 9 deletions

View File

@@ -43,7 +43,9 @@ bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
bind-key [ copy-mode
bind-key ] paste-buffer
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'wl-copy --foreground'
if-shell '[[ -n "$WAYLAND_DISPLAY" ]]' \
'bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "wl-copy --foreground"' \
'bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection clipboard"'
bind-key -T copy-mode-vi v send-keys -X begin-selection
# Status Bar (Rosé Pine)