diff options
Diffstat (limited to 'color_palette.sh')
-rwxr-xr-x | color_palette.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/color_palette.sh b/color_palette.sh deleted file mode 100755 index 3762fae..0000000 --- a/color_palette.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Print tmux color palette. -# Idea from http://superuser.com/questions/285381/how-does-the-tmux-color-palette-work - -for i in $(seq 0 4 255); do - for j in $(seq $i $(expr $i + 3)); do - for k in $(seq 1 $(expr 3 - ${#j})); do - printf " " - done - printf "\x1b[38;5;${j}mcolour${j}" - [[ $(expr $j % 4) != 3 ]] && printf " " - done - printf "\n" -done |