aboutsummaryrefslogtreecommitdiff
path: root/tmux-colortag.tmux
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-05-22 17:30:55 -0400
committerDeterminant <tederminant@gmail.com>2020-05-22 17:30:55 -0400
commit21430f45aa2d26704c479141b48b6a5571f0c5ac (patch)
treefc9dae8118b647848c5a26f675c5842e85c39cec /tmux-colortag.tmux
parentfd0466fc9df0b5a143d52d2cc5ab850e0b19bcac (diff)
allow customizing the theme colors
Diffstat (limited to 'tmux-colortag.tmux')
-rwxr-xr-xtmux-colortag.tmux12
1 files changed, 6 insertions, 6 deletions
diff --git a/tmux-colortag.tmux b/tmux-colortag.tmux
index 0890ee8..747c621 100755
--- a/tmux-colortag.tmux
+++ b/tmux-colortag.tmux
@@ -11,12 +11,12 @@ if [[ "$TMUX_COLORTAG_SET_INTERVAL" == yes ]]; then
tmux set -g status-interval 2
fi
-bg0=colour235
-bg1=colour237
-white0=colour255
-white1=colour250
-lightgray=colour248
-darkgray=colour241
+bg0=${colortag_bg0:-colour235}
+bg1=${colortag_bg1:-colour237}
+white0=${colortag_white0:-colour255}
+white1=${colortag_white1:-colour250}
+lightgray=${colortag_lightgray:-colour248}
+darkgray=${colortag_darkgray:-colour241}
if [[ "$TMUX_COLORTAG_TAG_ONLY" != yes ]]; then
tmux set -g message-style fg=$bg1,bg=$lightgray