aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtmux-colortag.tmux8
1 files changed, 6 insertions, 2 deletions
diff --git a/tmux-colortag.tmux b/tmux-colortag.tmux
index 4be8891..3ef72db 100755
--- a/tmux-colortag.tmux
+++ b/tmux-colortag.tmux
@@ -95,7 +95,9 @@ if [[ "$TMUX_COLORTAG_USE_POWERLINE" == no ]]; then
"#I${TMUX_COLORTAG_SEP_LEFT_PADDING}${TMUX_COLORTAG_IDX_SEP}${TMUX_COLORTAG_SEP_RIGHT_PADDING}#W ${TAB_END} ")"
tmux set -g window-status-current-format "$(printf %s \
"${TAB_PREBEGIN} ${TAB_FOCUS_BEGIN}" \
- "#I${TMUX_COLORTAG_SEP_LEFT_PADDING}${TMUX_COLORTAG_IDX_SEP}${TMUX_COLORTAG_SEP_RIGHT_PADDING}#W${TAB_PREEND_FG} ${TAB_END} ")"
+ "#[nounderscore,nooverline]#I" \
+ "${TMUX_COLORTAG_SEP_LEFT_PADDING}${TMUX_COLORTAG_IDX_SEP}${TMUX_COLORTAG_SEP_RIGHT_PADDING}" \
+ "${TAB_FOCUS_BEGIN_FG}#W${TAB_PREEND_FG} ${TAB_END} ")"
else
TMUX_COLORTAG_SEP_LEFT_PADDING="${TMUX_COLORTAG_SEP_LEFT_PADDING:-}"
TMUX_COLORTAG_SEP_RIGHT_PADDING="${TMUX_COLORTAG_SEP_RIGHT_PADDING:- }"
@@ -114,7 +116,9 @@ else
"#I${TMUX_COLORTAG_SEP_LEFT_PADDING}${TMUX_COLORTAG_IDX_SEP}${TMUX_COLORTAG_SEP_RIGHT_PADDING}#W${TAB_END}$TMUX_ARROW_SYMBOL_R1 ")"
tmux set -g window-status-current-format "$(printf %s \
"${TAB_FOCUS_BEGIN_BG}$TMUX_ARROW_SYMBOL_R1 ${TAB_FOCUS_BEGIN_FG}" \
- "#I${TMUX_COLORTAG_SEP_LEFT_PADDING}${TMUX_COLORTAG_IDX_SEP}${TMUX_COLORTAG_SEP_RIGHT_PADDING}#W${TAB_PREEND_FG}${TAB_END}$TMUX_ARROW_SYMBOL_R1 ")"
+ "#[nounderscore,nooverline]#I" \
+ "${TMUX_COLORTAG_SEP_LEFT_PADDING}${TMUX_COLORTAG_IDX_SEP}${TMUX_COLORTAG_SEP_RIGHT_PADDING}" \
+ "${TAB_FOCUS_BEGIN_FG}#W${TAB_PREEND_FG}${TAB_END}$TMUX_ARROW_SYMBOL_R1 ")"
fi
tmux bind-key "$TMUX_COLORTAG_KEY" run-shell "'$CURRENT_DIR/tmux-colortag-prompt.sh' prompt"