mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 04:35:59 +01:00
hyprlock: add halign valign and pos to input-field
This commit is contained in:
parent
b01dbde3ec
commit
51269c5078
1 changed files with 5 additions and 1 deletions
|
@ -53,6 +53,10 @@ input-field {
|
|||
outer_color = rgb(151515)
|
||||
inner_color = rgb(200, 200, 200)
|
||||
fade_on_empty = true
|
||||
|
||||
position = 0, -20 # position is added to the halign and valign props. For absolute, use "none" in either.
|
||||
halign = center # left, center, right, none
|
||||
valign = center # top, center, bottom, none
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -67,10 +71,10 @@ label {
|
|||
monitor =
|
||||
text = Hi there, $USER # Supported variables: $USER
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
position = 0, 80 # position is added to the halign and valign props. For absolute, use "none" in either.
|
||||
font_size = 25
|
||||
font_family = Noto Sans
|
||||
|
||||
position = 0, 80 # position is added to the halign and valign props. For absolute, use "none" in either.
|
||||
halign = center # left, center, right, none
|
||||
valign = center # top, center, bottom, none
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue