# HG changeset patch # User nanaya # Date 1667206438 -32400 # Node ID 5ca9e6f4039e9934af0f465facec9126d5f6cc6c # Parent 8c2ba562b15a9a1fe507e79fd65dc278c3ce6eac [tmux] support custom status bg diff -r 8c2ba562b15a -r 5ca9e6f4039e rc/tmux-2.9.conf --- a/rc/tmux-2.9.conf Wed Oct 26 18:08:51 2022 +0900 +++ b/rc/tmux-2.9.conf Mon Oct 31 17:53:58 2022 +0900 @@ -1,6 +1,10 @@ set -g default-terminal "screen-256color" set -g repeat-time 0 -set -g status-bg cyan +%if "#{==:${TMUX_STATUS_BG},}" + set -g status-bg cyan +%else + set -g status-bg "${TMUX_STATUS_BG}" +%endif set -g status-fg black set -g status-left '#[bg=white,fg=black] #S #[default] '