fix(home/hyprlock): round font size to int

This commit is contained in:
Gabriel Fontes
2025-11-15 12:05:23 -03:00
parent 7e1a8fc497
commit 83e4167366
@@ -42,7 +42,7 @@
text = "$TIME";
color = "rgb(${lib.removePrefix "#" config.colorscheme.colors.on_surface})";
font_family = config.fontProfiles.regular.name;
font_size = toString (140 * monitor.scale);
font_size = toString (builtins.floor (140 * monitor.scale));
position = "0 0";
}
{
@@ -50,7 +50,7 @@
text = "$FAIL";
font_color = "rgb(${lib.removePrefix "#" config.colorscheme.colors.on_surface})";
font_family = config.fontProfiles.regular.name;
font_size = toString (18 * monitor.scale);
font_size = toString (builtins.floor (18 * monitor.scale));
position = "0, -40%";
}
]));