summaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-10-04 19:13:49 +0100
committerUrbain Vaes <urbain@vaes.uk>2020-10-04 19:13:49 +0100
commit3a3321af173a73b158c606f0e2c3c3e0dece2cb9 (patch)
tree00075dc12714c8b128e2327542526ac0676820fc /tmux/.tmux.conf
parentac7ba6d8aa7eb6ef384f10b7798bd01308beb970 (diff)
parent2c5e2b7a6667fd4e726bba3e50f9ccf6ce13bab3 (diff)
Merge branch 'master' of https://github.com/urbainvaes/dotfiles
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\"'"