mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
hyprlock: add Shape widget (#588)
This commit is contained in:
parent
9d479afda8
commit
df2636b7ec
1 changed files with 23 additions and 0 deletions
|
@ -121,6 +121,29 @@ image {
|
|||
}
|
||||
```
|
||||
|
||||
### Shape
|
||||
|
||||
✓ Shadowable
|
||||
|
||||
Draws a shape beneath all other widgets but background.
|
||||
|
||||
```ini
|
||||
shape {
|
||||
monitor =
|
||||
size = 360, 60
|
||||
color = rgba(17, 17, 17, 1.0)
|
||||
rounding = -1
|
||||
border_size = 8
|
||||
border_color = rgba(0, 207, 230, 1.0)
|
||||
rotate = 0
|
||||
xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation)
|
||||
|
||||
position = 0, 80
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
```
|
||||
|
||||
### Input Field
|
||||
|
||||
✓ Shadowable
|
||||
|
|
Loading…
Reference in a new issue