From 51269c507821d38d4b3364443246606dd5d95f90 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 19 Feb 2024 22:47:22 +0000 Subject: [PATCH] hyprlock: add halign valign and pos to input-field --- pages/Hypr Ecosystem/hyprlock.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/Hypr Ecosystem/hyprlock.md b/pages/Hypr Ecosystem/hyprlock.md index d04c478..2c69c67 100644 --- a/pages/Hypr Ecosystem/hyprlock.md +++ b/pages/Hypr Ecosystem/hyprlock.md @@ -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 }