aboutsummaryrefslogtreecommitdiff
path: root/tmux-colortag-prompt.sh
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-05-22 17:15:40 -0400
committerDeterminant <tederminant@gmail.com>2020-05-22 17:15:40 -0400
commit50a0fbab85a87188857ca8f9516dc3a36722a3cb (patch)
tree2c1ac3760d3db59198dcbb4034f0b1f08f982954 /tmux-colortag-prompt.sh
parent268f4a0cdc4386648ad77c175ffb007135f7d33c (diff)
clean up color names and add help info
Diffstat (limited to 'tmux-colortag-prompt.sh')
-rwxr-xr-xtmux-colortag-prompt.sh11
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