From 86d0c775bec9e8766d7a1cd9cafde74b8a3e881f Mon Sep 17 00:00:00 2001 From: afonso Date: Fri, 3 Jan 2025 18:30:37 +0000 Subject: [PATCH] [tmux] fix copy mode and change theme --- .config/tmux/tmux_copy_mode.conf | 4 +++- .config/tmux/tmux_status_bar.conf | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.config/tmux/tmux_copy_mode.conf b/.config/tmux/tmux_copy_mode.conf index c2c4d06..33656a5 100644 --- a/.config/tmux/tmux_copy_mode.conf +++ b/.config/tmux/tmux_copy_mode.conf @@ -4,5 +4,7 @@ bind -T copy-mode-vi v send -X begin-selection bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy" bind P paste-buffer -bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy" +# Copy mode mouse +unbind-key -T copy-mode-vi MouseDragEnd1Pane +bind-key -T copy-mode-vi MouseDown1Pane select-pane\; send-keys -X clear-selection diff --git a/.config/tmux/tmux_status_bar.conf b/.config/tmux/tmux_status_bar.conf index 0d21a5c..e2f427d 100644 --- a/.config/tmux/tmux_status_bar.conf +++ b/.config/tmux/tmux_status_bar.conf @@ -1,10 +1,10 @@ #!/usr/bin/env bash # Hardcoded values -set -g status-bg "#1d2021" +set -g status-bg "#282828" set -g @unfocused-fg "#d4be98" set -g @focused-bg "#d4be98" -set -g @focused-fg "#1d2021" +set -g @focused-fg "#282828" # Set status bar position set -g status-position top @@ -28,7 +28,7 @@ set -g window-status-current-format '#[bg=#{@focused-bg},fg=#{@focused-fg}] #I:# # AUTO RENAME WINDOW -set-option -g status-interval 1 +set-option -g status-interval 5 set-option -g automatic-rename on