1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Document the new transparency option.

This commit is contained in:
Dave Davenport 2015-01-22 15:25:40 +01:00
parent 9067b2602d
commit db51b8110c
2 changed files with 32 additions and 0 deletions

View file

@ -450,6 +450,23 @@ This way it can be used as a drop-in replacement for dmenu. just copy or symlink
If in daemon mode, reload the configuration from Xresources. (commandline arguments still If in daemon mode, reload the configuration from Xresources. (commandline arguments still
override xresources). override xresources).
## Colors
Rofi has an experimental mode for a 'nicer' transparency. The idea is that you can make the
background of the window transparent but the text not. This way, in contract to the `-opacity`
option, the text is still fully visible and readable.
To use this there are 2 requirements: 1. Your Xserver supports TrueColor, 2. You are running a
composite manager. If this is satisfied you can use the following format for colors:
argb:FF444444
The first two fields specify the alpha level. This determines how much the background shines through
the color (00 everything, FF nothing). E.g. 'argb:00FF0000' gives you a bright red color with the
background shining through. If you want a dark greenish transparent color use: 'argb:dd2c3311'. This
can be done for any color; it is therefor possible to have solid borders, the selected row solid,
and the others slightly transparent.
## Keybindings ## Keybindings
Rofi supports the following keybindings: Rofi supports the following keybindings:

View file

@ -556,6 +556,21 @@ If in daemon mode, reload the configuration from Xresources. (commandline argume
.RE .RE
.PP .PP
override xresources). override xresources).
.SH Colors
.PP
Rofi has an experimental mode for a 'nicer' transparency. The idea is that you can make the
background of the window transparent but the text not. This way, in contract to the \fB\fC\-opacity\fR
option, the text is still fully visible and readable.
To use this there are 2 requirements: 1. Your Xserver supports TrueColor, 2. You are running a
composite manager. If this is satisfied you can use the following format for colors:
.PP
argb:FF444444
.PP
The first two fields specify the alpha level. This determines how much the background shines through
the color (00 everything, FF nothing). E.g. 'argb:00FF0000' gives you a bright red color with the
background shining through. If you want a dark greenish transparent color use: 'argb:dd2c3311'. This
can be done for any color; it is therefor possible to have solid borders, the selected row solid,
and the others slightly transparent.
.SH Keybindings .SH Keybindings
.PP .PP
Rofi supports the following keybindings: Rofi supports the following keybindings: