mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Document the new transparency option.
This commit is contained in:
parent
9067b2602d
commit
db51b8110c
2 changed files with 32 additions and 0 deletions
|
@ -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
|
||||
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
|
||||
|
||||
Rofi supports the following keybindings:
|
||||
|
|
15
doc/rofi.1
15
doc/rofi.1
|
@ -556,6 +556,21 @@ If in daemon mode, reload the configuration from Xresources. (commandline argume
|
|||
.RE
|
||||
.PP
|
||||
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
|
||||
.PP
|
||||
Rofi supports the following keybindings:
|
||||
|
|
Loading…
Reference in a new issue