How to set color resources
The format for setting the colors that dash uses (by adding lines to your
.Xresources file) is slightly different from how these resources are
normally set. These comments are taken directly from the default
Xresources for Dash, located in /usr/lib/X11/app-defaults/Dash.
----------------------------------------
The Console program and Dash contain a color converter which is NON-STANDARD!
The syntax for the following resources should not be used when specifying
resources for other programs, as it will generate a warning from that
program.
Also, the color converter does not deal with the "reverseVideo" resource,
for reasons too complicated to explain here.
Having said all that...when writing a color spec, you can use up to three
comma-seperated colors, which are applied as follows:
- if three colors are given, they specify the color to use on mono,
grayscale and color monitors, respectively.
- if only two colors are given, the first is used for both mono and
grayscale, and the second is for color.
- if only one color is given, it is used for all three visual classes.
----------------------------------------
The default settings are:
Dash*foreground: black,black,midnightblue
Dash*background: white,gray85,CadetBlue2
These can be changed by selecting the colors you prefer, as indicated in
the above comment, and adding the lines to your .Xresources file.
|