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

[Doc] Small updates to make transparency doc more inline current rofi.

This commit is contained in:
Dave Davenport 2021-08-23 22:36:24 +02:00
parent 9015e5cac6
commit 45561359de

View file

@ -9,7 +9,7 @@ Remember the general widget structure:
![structure](structure.svg) ![structure](structure.svg)
This means if you set every widget to be 30% transparent on a black background: it will look like: This means if you set every widget to be 30% transparent on a white background: it will look like:
![images](rofi-transp.png) ![images](rofi-transp.png)
@ -31,7 +31,7 @@ Specify fully transparent background on the highest level.
```css ```css
* { * {
background: rgba(0,0,0,0); background: transparent;
} }
``` ```
@ -70,7 +70,7 @@ background is white.)
This tries to emulate a transparent window by taking a screenshot of the window This tries to emulate a transparent window by taking a screenshot of the window
before showing and then drawing everything on top of this. While this is not an before showing and then drawing everything on top of this. While this is not an
idea solution (it won't update if something changes in the background) it is ideal solution (it won't update if something changes in the background) it is
often a very usable facsimile. often a very usable facsimile.
![rofi fake](rofi-fake.png) ![rofi fake](rofi-fake.png)