scripts/colors: tweak output
This commit is contained in:
parent
cab633dd50
commit
c6b1c54542
@ -10,12 +10,11 @@ function colored
|
|||||||
end
|
end
|
||||||
|
|
||||||
for i in (seq 8)
|
for i in (seq 8)
|
||||||
printf "%02d %27s (%s) %02d %36s (%s)\n" \
|
printf "%02d %-27s (%s) %02d %-36s (%s)\n" \
|
||||||
(math $i - 1) \
|
(math $i - 1) \
|
||||||
(colored $colors[$i] $colors[$i]) \
|
(colored $colors[$i] $colors[$i]) \
|
||||||
(xrdb -query color(math $i - 1)) \
|
(xrdb -query color(math $i - 1)) \
|
||||||
(math $i + 7) \
|
(math $i + 7) \
|
||||||
(colored br$colors[$i] "bright "$colors[$i]) \
|
(colored br$colors[$i] "bright "$colors[$i]) \
|
||||||
(xrdb -query color(math $i + 7))
|
(xrdb -query color(math $i + 7))
|
||||||
echo
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user