cabbiev2: Don't generate certain entries for monochrome devices

Namely, 'backdrop' and 'filetype colours'

Change-Id: Ied0b87d9b43d010a37ebb1e33488463c6ad1ebcc
This commit is contained in:
Solomon Peachy 2026-10-05 14:08:37 -04:00
parent 279e8524a6
commit 59f15ca630

View file

@ -290,10 +290,13 @@ MOO
}
push @out, "selector type: $selecttype\n" if (defined($selecttype));
push @out, "backdrop: $backdrop\n" if (defined($backdrop));
push @out, "filetype colours: $filetylecolor\n" if (defined($filetylecolor));
if ($main_depth > 1) {
push @out, "backdrop: $backdrop\n" if (defined($backdrop));
}
if ($main_depth > 2) {
push @out, "filetype colours: $filetylecolor\n" if (defined($filetylecolor));
push @out, "foreground color: $fgcolor\n" if($fgcolor);
push @out, "background color: $bgcolor\n" if($bgcolor);
push @out, "line selector start color: $lineselectstart\n" if($lineselectstart);