[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

12. Couleurs

All text printed by stumpwm is run through a coloring engine before being displayed. All color commands start with a ‘^’ (caret) character and apply to all text after it.

^0-9

A caret followed by a single digit number changes the foreground color to the specified color. A ‘*’ can be used to specify the normal color. See the color listing below.

^0-90-9

A caret followed by two digits sets the foreground and background color. The first digit refers to the foreground color and the second digit to the background color. A ‘*’ can be used in place of either digit to specify the normal color. See the color listing below.

^b

turn on bright colors

^B

turn off bright colors

^n

Use the normal background and foreground color.

^R

reverse the foreground and background colors

^r

turn off reverse colors

^[

Push the current colors onto the color stack. The current colors remain unchanged.

^]

Pop the colors off the color stack.

^^

Print a regular caret.

The default colors are made to resemble the 16 VGA colors and are:

0 black
1 red
2 green
3 yellow
4 blue
5 magenta
6 cyan
7 white

Il n'y a que 8 couleurs par défaut mais 10 chiffres sont disponibles. Les deux derniers chiffres sont laissées à l'utilisateur. Derrière la scène regarde les couleurs pour des informations sur la personnalisation des couleurs.


[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

Ce document a été généré par Eric Reinbold le 9 Octobre 2008 en utilisant texi2html 1.78.