From ebcb46b18968910f150d7c54de8e472dffd923c7 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 2 May 2017 21:42:02 +0200 Subject: [PATCH 1/1] termcol: trim 8-colour xcolors palettes --- tools/mktermcol-xcolor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/mktermcol-xcolor b/tools/mktermcol-xcolor index 4dba0bc..74bed79 100755 --- 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',); -- 2.30.0