hyprlock: add halign valign and pos to input-field

This commit is contained in:
Vaxry 2024-02-19 22:47:22 +00:00
parent b01dbde3ec
commit 51269c5078

View file

@ -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
}