X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/c98bda172fec13970df56f9bec501b420c3b51f5..2b719dc0950d9e160458490cb1c69b7cd37d240d:/tools/mktermcol-xcolor diff --git a/tools/mktermcol-xcolor b/tools/mktermcol-xcolor index 4dba0bc..7f39c80 100755 --- a/tools/mktermcol-xcolor +++ b/tools/mktermcol-xcolor @@ -3,6 +3,7 @@ use 5.014; use Shiar_Sheet::Colour 1.05; +say "# automatically generated by $0"; say 'use strict;'; say '+{'; my @names; @@ -46,6 +47,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',);