This commit is contained in:
2019-01-12 18:22:02 +01:00
commit ef6928d257
81 changed files with 6009 additions and 0 deletions

14
tmux/powerline/color_palette.sh Executable file
View File

@ -0,0 +1,14 @@
#!/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