yapet_colors - Man Page

format of YAPET color configuration

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.

Table 1. UI Objects

UI ObjectAbbreviation
Default ColorDEF
DialogDIA
Dialog TitleDIT
Input Widget w/o focusIWN
Input Widget w/ focusIWF
Hidden text in Input WidgetIWH
Button w/o focusBTN
Button w/ focusBTF
List BoxLBX
Highlighted line in List BoxLBH
Check box groupCBG
Title BarTLB
Status BarSTB

Table 2. Colors

ColorAbbreviation
Blackk
Redr
Greeng
Yellowy
Blueb
Magentam
Cyanc
Whitew

Table 3. Attributes

AttributeAbbreviation
Normal0
Standout1
Underline2
Reverse3
Blink4
Dim5
Protected6
Invisible7

Examples

Default YAPET Colors

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.

Authors

Rafael Ostertag rafi@guengel.ch.

See Also

yapet(1), yapet_config(5)

Referenced By

yapet(1), yapet_config(5).

2022-03-12 YAPET 2.6 YAPET_CONFIG