aboutsummaryrefslogtreecommitdiff
path: root/tmux-colortag.tmux
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-05-20 20:22:15 -0400
committerDeterminant <tederminant@gmail.com>2020-05-20 20:22:15 -0400
commitc75d00eb928a6b1be9044e128fff982b9633e16c (patch)
tree4da4a9b6265ff08d97f2872cc61b784e4c28ab1d /tmux-colortag.tmux
parent78e3fe332d4f81dd63eaaadee3cb41a7e7126099 (diff)
allow using the coloring feature only
Diffstat (limited to 'tmux-colortag.tmux')
-rwxr-xr-xtmux-colortag.tmux24
1 files changed, 14 insertions, 10 deletions
diff --git a/tmux-colortag.tmux b/tmux-colortag.tmux
index d76394b..7e77de6 100755
--- a/tmux-colortag.tmux
+++ b/tmux-colortag.tmux
@@ -2,6 +2,8 @@
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TMUX_COLORTAG_SET_INTERVAL="${TMUX_COLORTAG_SET_INTERVAL:-yes}"
+TMUX_COLORTAG_TAG_ONLY="${TMUX_COLORTAG_TAG_ONLY:-no}"
+TMUX_COLORTAG_NOPOWERLINE="${TMUX_COLORTAG_NOPOWERLINE:-no}"
if [[ "$TMUX_COLORTAG_SET_INTERVAL" == yes ]]; then
tmux set -g status on
@@ -18,16 +20,18 @@ color6=colour240
color7=colour236
color8=colour235
-tmux set -g status-style bg=$color0
-tmux set -g message-style fg=$color0,bg=$color4
-tmux set -g message-command-style fg=$color0,bg=$color4
-tmux set -g pane-active-border-style fg=$color6
-tmux set -g pane-border-style fg=$color7,bg=$color8
-tmux set -g pane-active-border-style bg=$color8
-tmux setw -g window-status-style fg=$color0,bg=$color0,none
-tmux setw -g window-status-activity-style bg=$color0,fg=$color4,none
-tmux setw -g window-status-bell-style bg=$color0,fg=$color4,none
-tmux setw -g window-status-separator ""
+if [[ "$TMUX_COLORTAG_TAG_ONLY" != yes ]]; then
+ tmux set -g status-style bg=$color0
+ tmux set -g message-style fg=$color0,bg=$color4
+ tmux set -g message-command-style fg=$color0,bg=$color4
+ tmux set -g pane-active-border-style fg=$color6
+ tmux set -g pane-border-style fg=$color7,bg=$color8
+ tmux set -g pane-active-border-style bg=$color8
+ tmux setw -g window-status-style fg=$color0,bg=$color0,none
+ tmux setw -g window-status-activity-style bg=$color0,fg=$color4,none
+ tmux setw -g window-status-bell-style bg=$color0,fg=$color4,none
+ tmux setw -g window-status-separator ""
+fi
RECOVER_BG="#[bg=$color0]"
LEFTBAR_FORMAT="$(printf "%s" \