From 83e4167366b895126f6bd2c257fa0165249142e2 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Sat, 15 Nov 2025 12:03:14 -0300 Subject: [PATCH] fix(home/hyprlock): round font size to int --- home/gabriel/features/desktop/hyprland/hyprlock.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/gabriel/features/desktop/hyprland/hyprlock.nix b/home/gabriel/features/desktop/hyprland/hyprlock.nix index a11396e0..6e604c30 100644 --- a/home/gabriel/features/desktop/hyprland/hyprlock.nix +++ b/home/gabriel/features/desktop/hyprland/hyprlock.nix @@ -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%"; } ]));