Skip to content

Commit

Permalink
hyprlock: add halign valign and pos to input-field
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Feb 19, 2024
1 parent b01dbde commit 51269c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/Hypr Ecosystem/hyprlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```

Expand All @@ -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
}
Expand Down

0 comments on commit 51269c5

Please sign in to comment.