Update docs to include <reserve>
This commit is contained in:
parent
8dba5aca83
commit
b8e2fc070b
1 changed files with 16 additions and 14 deletions
|
@ -17,7 +17,7 @@ So the directory structure should look like this:
|
||||||
```
|
```
|
||||||
$HOME
|
$HOME
|
||||||
└──.config
|
└──.config
|
||||||
└──eww
|
──eww
|
||||||
├──eww.xml
|
├──eww.xml
|
||||||
└──eww.scss
|
└──eww.scss
|
||||||
```
|
```
|
||||||
|
@ -214,6 +214,7 @@ The `<windows>` config should look something like this:
|
||||||
<windows>
|
<windows>
|
||||||
<window name="main_window" stacking="fg" focusable="false" screen="1">
|
<window name="main_window" stacking="fg" focusable="false" screen="1">
|
||||||
<geometry anchor="top left" x="300px" y="50%" width="25%" height="20px"/>
|
<geometry anchor="top left" x="300px" y="50%" width="25%" height="20px"/>
|
||||||
|
<reserve side="left" distance="50px"/>
|
||||||
<widget>
|
<widget>
|
||||||
<main/>
|
<main/>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -223,6 +224,7 @@ The `<windows>` config should look something like this:
|
||||||
|
|
||||||
The window block contains multiple elements to configure the window.
|
The window block contains multiple elements to configure the window.
|
||||||
- `<geometry>` is used to specify the position and size of the window.
|
- `<geometry>` is used to specify the position and size of the window.
|
||||||
|
- `<reserve>` is used to have eww reserve space at a given side of the screen the widget is on.
|
||||||
- `<widget>` will contain the widget that is shown in the window.
|
- `<widget>` will contain the widget that is shown in the window.
|
||||||
|
|
||||||
There are a couple things you can optionally configure on the window itself:
|
There are a couple things you can optionally configure on the window itself:
|
||||||
|
|
Loading…
Add table
Reference in a new issue