home/natto: hyprlock: use pixels instead of percentages

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-09-10 18:58:50 +05:30
parent 23d6f855ee
commit 54c45411fe

View File

@@ -52,7 +52,7 @@
text = "Layout: $LAYOUT"; text = "Layout: $LAYOUT";
font_size = 25; font_size = 25;
color = "0x${text}"; color = "0x${text}";
position = "2%, -2%"; position = "30, -30";
valign = "top"; valign = "top";
halign = "left"; halign = "left";
} }
@@ -61,7 +61,7 @@
text = "$TIME"; text = "$TIME";
font_size = 90; font_size = 90;
color = "0x${text}"; color = "0x${text}";
position = "-2%, 0"; position = "-30, 0";
valign = "top"; valign = "top";
halign = "right"; halign = "right";
} }
@@ -70,7 +70,7 @@
text = "cmd[update:3600000] date +\"%A, %d %B %Y\""; text = "cmd[update:3600000] date +\"%A, %d %B %Y\"";
font_size = 25; font_size = 25;
color = "0x${text}"; color = "0x${text}";
position = "-2%, -10%"; position = "-30, -150";
valign = "top"; valign = "top";
halign = "right"; halign = "right";
} }