scripts

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

commit 7224b18f9d6f82004db53d5964daa4baa7e627f2
parent ced7417566ef91c24c7634dc850516ee7520438a
Author: z3bra <willy@mailoo.org>
Date:   Mon Mar 30 22:50:04 +0200

changed cdump presentation

Diffstat:
cdump | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/cdump b/cdump @@ -1,20 +1,20 @@ #!/bin/sh for NUM in $(seq 0 7); do - CN=$(xrdb -query | grep "^\*color${NUM}:"| cut -d':' -f2 | tr -d ' ') - printf "\e[0;3${NUM}m%s " $CN + printf "\e[0;3${NUM}m━━━━━━━ " done echo for NUM in $(seq 0 7); do - printf "\e[0;3${NUM}m▒▒▒▒▒▒▒ " + CN=$(xrdb -query | grep "^\*color${NUM}:"| cut -d':' -f2 | tr -d ' ') + printf "\e[0;3${NUM}m%s " $CN done echo for NUM in $(seq 0 7); do - printf "\e[1;3${NUM}m▒▒▒▒▒▒▒ " + CN=$(xrdb -query | grep "^\*color$((${NUM} + 8)):"| cut -d':' -f2 | tr -d ' ') + printf "\e[1;3${NUM}m%s " $CN done echo for NUM in $(seq 0 7); do - CN=$(xrdb -query | grep "^\*color$((${NUM} + 8)):"| cut -d':' -f2 | tr -d ' ') - printf "\e[1;3${NUM}m%s " $CN + printf "\e[1;3${NUM}m━━━━━━━ " done printf "\e[0m\n"