git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
termcol: trim 8-colour xcolors palettes
[sheet.git]
/
tools
/
mktermcol-xcolor
diff --git
a/tools/mktermcol-xcolor
b/tools/mktermcol-xcolor
index 4dba0bc8724486631775ab91ad6a5bbc2f09e8b5..74bed79aa3ee1f3eaba6f7db2eba7b5380d00f73 100755
(executable)
--- a/
tools/mktermcol-xcolor
+++ b/
tools/mktermcol-xcolor
@@
-46,6
+46,8
@@
for my $path (@ARGV) {
next;
}
+ splice @pal, 8 if "@pal[0..7]" eq "@pal[8..15]";
+
say qq("$name" => {);
say qq(\ttitle => '$name',);
say qq(\tparent => 'cga',);