mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45:59 +01:00
hyprlock: add screenshot and blur
This commit is contained in:
parent
f3a8a3aed4
commit
f473dd3221
1 changed files with 11 additions and 0 deletions
|
@ -42,11 +42,22 @@ Draws a background image or fills with color.
|
||||||
|
|
||||||
If `path` is empty or missing, will use `color`. Otherwise, the image will be used.
|
If `path` is empty or missing, will use `color`. Otherwise, the image will be used.
|
||||||
|
|
||||||
|
If `path` is `screenshot`, a screenshot of your desktop at launch 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)
|
color = rgba(25, 20, 20, 1.0)
|
||||||
|
|
||||||
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
|
blur_passes = 0 # 0 disables blurring
|
||||||
|
blur_size = 7
|
||||||
|
noise = 0.0117
|
||||||
|
contrast = 0.8916
|
||||||
|
brightness = 0.8172
|
||||||
|
vibrancy = 0.1696
|
||||||
|
vibrancy_darkness = 0.0
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue