From afee64f3c5090b4eadc30df46bad001015744858 Mon Sep 17 00:00:00 2001 From: awwpotato <153149335+awwpotato@users.noreply.github.com> Date: Tue, 4 Mar 2025 09:56:55 -0800 Subject: [PATCH] rio: add emoji font family and convert font size to pixel unit (#937) Closes: https://github.com/danth/stylix/issues/936 Tested-by: https://github.com/NovaViper Approved-by: https://github.com/NovaViper Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com> Tested-by: awwpotato <153149335+awwpotato@users.noreply.github.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> --- modules/rio/hm.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/rio/hm.nix b/modules/rio/hm.nix index e658e719..499bb361 100644 --- a/modules/rio/hm.nix +++ b/modules/rio/hm.nix @@ -15,7 +15,9 @@ in programs.rio.settings = { fonts = with config.stylix.fonts; { family = monospace.name; - size = sizes.terminal; + emoji.family = emoji.name; + # converting font size to px + size = sizes.terminal * 4.0 / 3.0; }; window.opacity = with config.stylix.opacity; terminal; colors = with colors; {