scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit f18d38510632fb2a3190323b932cc311a7f56b06
parent a008f26a32a007e84582a2aa179ff55809582cd6
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Mon Sep 30 14:24:46 +0200

Make the color dump moar explicit

Diffstat:
cdump | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/cdump b/cdump @@ -4,17 +4,19 @@ FILE=$HOME/.Xresources for NUM in {0..7}; do CN=$(grep "color${NUM}:" $FILE | cut -d':' -f2 | tr -d ' ') - echo -en "\e[0;3${NUM}m $CN\033[m " + echo -en "\e[0;3${NUM}m$CN\033[m " done echo for NUM in {0..7}; do - echo -n ' ' - echo -en "\033[0;3${NUM}m▉▉▉\033[m" - echo -en "\033[1;3${NUM}m▉▉▉▉\033[m " + echo -en "\033[0;3${NUM}m▉▉▉▉▉▉▉\033[m " +done +echo +for NUM in {0..7}; do + echo -en "\033[1;3${NUM}m▉▉▉▉▉▉▉\033[m " done echo for NUM in {0..7}; do CN=$(grep "color$((${NUM}+8)):" $FILE| cut -d':' -f2 | tr -d ' ') - echo -en "\e[1;3${NUM}m $CN\033[m " + echo -en "\e[1;3${NUM}m$CN\033[m " done echo