mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 06:25:59 +01:00
hyprlock: add background color
This commit is contained in:
parent
2ff048a654
commit
b01dbde3ec
1 changed files with 4 additions and 1 deletions
|
@ -29,12 +29,15 @@ widget_name {
|
||||||
|
|
||||||
### Background
|
### Background
|
||||||
|
|
||||||
Draws a background image.
|
Draws a background image or fills with color.
|
||||||
|
|
||||||
|
If `path` is empty or missing, will use `color`. Otherwise, the image will be used.
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = /home/me/someImage.png # only png supported for now
|
path = /home/me/someImage.png # only png supported for now
|
||||||
|
color = rgba(25, 20, 20, 1.0)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue