mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-02 03:45:57 +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)
|
outer_color = rgb(151515)
|
||||||
inner_color = rgb(200, 200, 200)
|
inner_color = rgb(200, 200, 200)
|
||||||
fade_on_empty = true
|
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 =
|
monitor =
|
||||||
text = Hi there, $USER # Supported variables: $USER
|
text = Hi there, $USER # Supported variables: $USER
|
||||||
color = rgba(200, 200, 200, 1.0)
|
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_size = 25
|
||||||
font_family = Noto Sans
|
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
|
halign = center # left, center, right, none
|
||||||
valign = center # top, center, bottom, none
|
valign = center # top, center, bottom, none
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue