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