diff options
author | Determinant <tederminant@gmail.com> | 2020-05-22 17:15:40 -0400 |
---|---|---|
committer | Determinant <tederminant@gmail.com> | 2020-05-22 17:15:40 -0400 |
commit | 50a0fbab85a87188857ca8f9516dc3a36722a3cb (patch) | |
tree | 2c1ac3760d3db59198dcbb4034f0b1f08f982954 /tmux-colortag-prompt.sh | |
parent | 268f4a0cdc4386648ad77c175ffb007135f7d33c (diff) |
clean up color names and add help info
Diffstat (limited to 'tmux-colortag-prompt.sh')
-rwxr-xr-x | tmux-colortag-prompt.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tmux-colortag-prompt.sh b/tmux-colortag-prompt.sh index 7b09857..874a29f 100755 --- a/tmux-colortag-prompt.sh +++ b/tmux-colortag-prompt.sh @@ -27,5 +27,16 @@ case "$1" in clear-all) run_python --clear ;; + '') ;; + help) + echo "# Tmux ColorTag" + echo "# Ted Yin <tederminant@gmail.com>" + echo "Note: color overriding order: color-idx > color-name > auto" + echo "color-idx <0-255>: manually set the color for the window index" + echo "color-name <0-255>: manually set the color for the name" + echo "clear-idx: clears the preivous color of the index" + echo "clear-name: clears the preivous color of the name" + echo "clear-all: use auto-coloring for all window tags" + ;; *) tmux display "ColorTag: invalid command"; exit 0;; esac |