hyprlock: add shadowable

This commit is contained in:
Vaxry 2024-03-05 20:30:47 +00:00
parent 50b96d937f
commit 9cb2e89120

View file

@ -37,6 +37,16 @@ widget_name {
- Positioning is done via halign, valign and position. Position is an added offset to the result of alignment.
- halign: `left`, `center`, `right`, `none`. valign: `top`, `center`, `bottom`, `none`
### Shadowable
Some widgets are shadowable, aka. can have a shadow. For those widgets, you get:
| variable | description | type | default |
| -- | -- | -- | -- |
| shadow_passes | passes for shadow, 0 to disable | int | 0 |
| shadow_size | size for shadow | int | 3 |
| shadow_color | shadow color | color | rgb(0,0,0) |
| shadow_boost | boost shadow's opacity | float | 1.2 |
### Background
Draws a background image or fills with color.
@ -64,6 +74,8 @@ background {
### Input Field
✓ Shadowable
Draws a password input field.
```ini
@ -91,6 +103,8 @@ input-field {
### Label
✓ Shadowable
Draws a label.
```ini