aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-05-20 21:54:26 -0400
committerDeterminant <tederminant@gmail.com>2020-05-20 21:54:26 -0400
commit7f73e6150e6a8c12e7ae3589420a1e78a403115d (patch)
tree31e8fa90714a170bf69926433aa85cc423efca94
parentecc4b13bcd45615ebde535745f832285227111d6 (diff)
disable powerline symbols by default
-rw-r--r--README.rst24
-rwxr-xr-xtmux-colortag.tmux4
2 files changed, 14 insertions, 14 deletions
diff --git a/README.rst b/README.rst
index 47a9c05..116c0a2 100644
--- a/README.rst
+++ b/README.rst
@@ -7,7 +7,7 @@ Tmux ColorTag Theme
<img src="https://raw.githubusercontent.com/Determinant/tmux-colortag/master/demo.gif" width="90%">
</div>
-Also...works for powerline haters...
+Also...works for powerline haters using the default setting.
.. raw:: html
@@ -26,13 +26,6 @@ runs!
Installation
============
-- If you don't have powerline symbols in your terminal font (or you don't know
- what that is), add the following line to the top of your ``.tmux.conf``:
-
- ::
-
- TMUX_COLORTAG_NOPOWERLINE=yes
-
- Make sure you have tmux plugin manager installed: https://github.com/tmux-plugins/tpm
- Add plugin to the list of TPM plugins in ``.tmux.conf``:
@@ -51,11 +44,14 @@ Installation
Customization
=============
-- For the best experience, this plugin assumes a short status update
- interval. To change it back, specify ``TMUX_COLORTAG_SET_INTERVAL=no`` or
- directly override the setting in your tmux config file.
+- If you would like to use Powerline Symbols like shown in the demo, add the
+ following line to the top of your ``.tmux.conf`` to enable them:
-- If you don't like powerline symbols, feel free to change them by
+ ::
+
+ TMUX_COLORTAG_USE_POWERLINE=yes
+
+- If you don't like the existing powerline symbols, feel free to change them by
specifying the following environment variables to override the default:
- ``TMUX_ARROW_SYMBOL_L1``
@@ -63,6 +59,10 @@ Customization
- ``TMUX_ARROW_SYMBOL_R1``
- ``TMUX_ARROW_SYMBOL_R2``
+- For the best experience, this plugin assumes a short status update
+ interval. To change it back, specify ``TMUX_COLORTAG_SET_INTERVAL=no`` or
+ directly override the setting in your tmux config file.
+
- If you only want to color the tags (without changing other styles
such as borders), specify ``TMUX_COLORTAG_TAG_ONLY=yes``.
diff --git a/tmux-colortag.tmux b/tmux-colortag.tmux
index b937ac1..cff1381 100755
--- a/tmux-colortag.tmux
+++ b/tmux-colortag.tmux
@@ -3,7 +3,7 @@
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}"
+TMUX_COLORTAG_USE_POWERLINE="${TMUX_COLORTAG_USE_POWERLINE:-no}"
if [[ "$TMUX_COLORTAG_SET_INTERVAL" == yes ]]; then
tmux set -g status on
@@ -50,7 +50,7 @@ TAB_FOCUS_BEGIN_BG="#[bg=$TAB_COLOR]"
TAB_FOCUS_BEGIN_FG="#[fg=$color2]"
TAB_FOCUS_BEGIN="${TAB_FOCUS_BEGIN_BG}${TAB_FOCUS_BEGIN_FG}"
-if [[ "$TMUX_COLORTAG_NOPOWERLINE" == yes ]]; then
+if [[ "$TMUX_COLORTAG_USE_POWERLINE" == no ]]; then
TMUX_COLORTAG_IDX_SEP="${TMUX_COLORTAG_IDX_SEP:-|}"
tmux set -g status-left "${LEFTBAR_FORMAT} ${RECOVER_BG} "
tmux set -g status-right "${RIGHTBAR_DEFAULT} ${LOAD_DISP} ${RIGHTBAR_HOST} #h "