logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

yapet_colors - format of YAPET color configuration

Authors

Rafael Ostertag rafi@guengel.ch.

Description

The color scheme of YAPET can be customized by setting the colors option in $HOME/.yapet. It has the following syntax: colors=OBJ1:<fg1><bg1><attr1>;...;OBJN:<fgN><bgN><attrN> OBJN The UI object for which the color is set. See UI Objects for possible values. <fgN> The foreground color of the UI object. See Colors for possible values. <bgN> The background color of the UI object. See Colors for possible values. <attrN> The attribute of the UI object. Attributes are used if the terminal does not support colors. See Attributes for possible values. Table1.UIObjects ┌──────────────────────────────┬──────────────┐ │ │ │ │ UI Object │ Abbreviation │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Default Color │ DEF │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Dialog │ DIA │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Dialog Title │ DIT │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Input Widget w/o focus │ IWN │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Input Widget w/ focus │ IWF │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Hidden text in Input Widget │ IWH │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Button w/o focus │ BTN │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Button w/ focus │ BTF │ ├──────────────────────────────┼──────────────┤ │ │ │ │ List Box │ LBX │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Highlighted line in List Box │ LBH │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Check box group │ CBG │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Title Bar │ TLB │ ├──────────────────────────────┼──────────────┤ │ │ │ │ Status Bar │ STB │ └──────────────────────────────┴──────────────┘ Table2.Colors ┌─────────┬──────────────┐ │ │ │ │ Color │ Abbreviation │ ├─────────┼──────────────┤ │ │ │ │ Black │ k │ ├─────────┼──────────────┤ │ │ │ │ Red │ r │ ├─────────┼──────────────┤ │ │ │ │ Green │ g │ ├─────────┼──────────────┤ │ │ │ │ Yellow │ y │ ├─────────┼──────────────┤ │ │ │ │ Blue │ b │ ├─────────┼──────────────┤ │ │ │ │ Magenta │ m │ ├─────────┼──────────────┤ │ │ │ │ Cyan │ c │ ├─────────┼──────────────┤ │ │ │ │ White │ w │ └─────────┴──────────────┘ Table3.Attributes ┌───────────┬──────────────┐ │ │ │ │ Attribute │ Abbreviation │ ├───────────┼──────────────┤ │ │ │ │ Normal │ 0 │ ├───────────┼──────────────┤ │ │ │ │ Standout │ 1 │ ├───────────┼──────────────┤ │ │ │ │ Underline │ 2 │ ├───────────┼──────────────┤ │ │ │ │ Reverse │ 3 │ ├───────────┼──────────────┤ │ │ │ │ Blink │ 4 │ ├───────────┼──────────────┤ │ │ │ │ Dim │ 5 │ ├───────────┼──────────────┤ │ │ │ │ Protected │ 6 │ ├───────────┼──────────────┤ │ │ │ │ Invisible │ 7 │ └───────────┴──────────────┘

Examples

DefaultYAPETColors Please note, the line has been wrapped for better readability. Line breaks are not allowed in colors. colors=DEF:wk0;DIA:wb0;DIT:bw3;IWN:kw3;IWF:kg3;IWH:yy7; BTN:wk0;BTF:kg3;LBX:wk0;LBH:kg3;CBG:yc0;TLB:bw0;STB:bw0

Files

$HOME/.yapet The per-user configuration file. If existing, options are read from this file but can be overridden by the command line options. Processing of this file can be disabled by invoking yapet with the -i option. Refer to the yapet_config(5) for an explanation of the per-user configuration file.

Name

yapet_colors - format of YAPET color configuration

See Also

yapet(1), yapet_config(5) YAPET 2.6 2022-03-12 YAPET_COLORS(5)

See Also