summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawAbidingCactus <lawabidingcactus@lawabidingcactus.com>2020-05-08 13:39:28 +0000
committerLawAbidingCactus <lawabidingcactus@lawabidingcactus.com>2020-05-08 13:39:28 +0000
commit6cf7fa405aefd6060f849fe14bc65eb2a5448333 (patch)
tree0510905f33134a66df57f47edf44535b71fb65c4
parent2f8544af1828fb1916766e0dfe4be33cac169982 (diff)
add tmux 3.2 options; clean up statusline formatting
-rw-r--r--tmux-colorscheme.conf10
1 files changed, 8 insertions, 2 deletions
diff --git a/tmux-colorscheme.conf b/tmux-colorscheme.conf
index c5b6a1d..fcda108 100644
--- a/tmux-colorscheme.conf
+++ b/tmux-colorscheme.conf
@@ -47,10 +47,16 @@ set-option -g display-panes-colour "#3C3836"
# clock
set-option -wg clock-mode-colour "#FE8019"
+# copy mode highlighting
+%if #{>=:#{version},3.2}
+ set-option -wg copy-mode-match-style "bg=#A89984,fg=#3C3836"
+ set-option -wg copy-mode-current-match-style "bg=#FE8109,fg=#3C3836"
+%endif
+
# statusbar formatting
# "#fe8019" MUST be in lowercase here (conflicts with statusline alias otherwise)
-set-option -g status-left "#[fg=#3C3836, bg=#A89984]#{?client_prefix,#[bg=#fe8019] #{session_name} #[bg=#A89984], #{session_name} }"
-set-option -g status-right "#[fg=#7C6F64, bg=#3C3836] %Y-%m-%d %H:%M:%S #[fg=#3C3836, bg=#A89984]#{?client_prefix,#[bg=#fe8019] #{host_short} #[bg=#A89984], #{host_short} }"
+set-option -g status-left "#[bg=#A89984, fg=#3C3836]#{?client_prefix,#[bg=#fe8019],#[bg=#A89984]} #{session_name} "
+set-option -g status-right "#[bg=#3C3836, fg=#7C6F64] %Y-%m-%d %H:%M:%S #[bg=#A89984, fg=#3C3836]#{?client_prefix,#[bg=#fe8019],#[bg=#A89984]} #{host_short} "
set-option -wg window-status-current-format " #{window_index} #{window_name} "
set-option -wg window-status-format " #{window_index} #{window_name} "