Add dump_tmux_color script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a4c174641d
commit
a9f0300a97
1 changed files with 12 additions and 0 deletions
12
bin/dump_tmux_color.sh
Executable file
12
bin/dump_tmux_color.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
set -euo pipefail
|
||||
|
||||
printf "\n "
|
||||
for i in {0..255}; do
|
||||
colcode="colour${i}"
|
||||
printf "\x1b[38;5;${i}m%-10s " $colcode
|
||||
if [ $((($i + 1) % 8)) = 0 ]; then
|
||||
printf "\n "
|
||||
fi
|
||||
done
|
||||
printf "\n"
|
Loading…
Reference in a new issue