diff --git a/config/tmux/tmux.conf.local b/config/tmux/tmux.conf.local index ada805b..f458b9a 100644 --- a/config/tmux/tmux.conf.local +++ b/config/tmux/tmux.conf.local @@ -448,6 +448,13 @@ set -g status-right "#{E:@catppuccin_status_session}" bind-key p send-keys 'selected=$(find "${1:-.}" -type f \( -iname "*.pdf" -o -iname "*.epub" -o -iname "*.mobi" \) | fzf --preview "zathura {} & sleep 1 && swaymsg \"[app_id=Alacritty] focus\"" --preview-window=right,0) && zathura "${selected}" +# OSC52 enable +set -g set-clipboard on +set -g allow-passthrough on + +# Enable truecolor for compatible terminals +set -gs terminal-features ',rxvt-unicode-256color:clipboard' + # -- custom variables ---------------------------------------------------------- # to define a custom #{foo} variable, define a POSIX shell function between the