mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45:59 +01:00
hyprlock: add shadowable
This commit is contained in:
parent
50b96d937f
commit
9cb2e89120
1 changed files with 14 additions and 0 deletions
|
@ -37,6 +37,16 @@ widget_name {
|
||||||
- Positioning is done via halign, valign and position. Position is an added offset to the result of alignment.
|
- 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`
|
- 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
|
### Background
|
||||||
|
|
||||||
Draws a background image or fills with color.
|
Draws a background image or fills with color.
|
||||||
|
@ -64,6 +74,8 @@ background {
|
||||||
|
|
||||||
### Input Field
|
### Input Field
|
||||||
|
|
||||||
|
✓ Shadowable
|
||||||
|
|
||||||
Draws a password input field.
|
Draws a password input field.
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
|
@ -91,6 +103,8 @@ input-field {
|
||||||
|
|
||||||
### Label
|
### Label
|
||||||
|
|
||||||
|
✓ Shadowable
|
||||||
|
|
||||||
Draws a label.
|
Draws a label.
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
|
|
Loading…
Reference in a new issue