1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -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 committed by Dave Davenport
parent 9bd0e0969a
commit 96967493b4

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)