summaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.tmux.conf')
-rw-r--r--tmux/.tmux.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index c16febc..6259e47 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -22,6 +22,8 @@ set -g pane-border-status off # Alternative: top/bottom/...
set -g pane-border-format "#{pane_current_command}"
set -g status-justify centre # Center window list
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' # Get | cursor nvim insert
+set -sa terminal-overrides ',xterm*:RGB'
+set -sa terminal-overrides ',rxvt*:RGB'
set-hook -g session-created "if-shell '[ -n \""'$SSH_CONNECTION'"\" ]' 'set status-bg \"#aa4444\"' 'set status-bg \"green\"'"
set-hook -g client-attached "if-shell '[ -n \""'$SSH_CONNECTION'"\" ]' 'set status-bg \"#aa4444\"' 'set status-bg \"green\"'"