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>
This commit is contained in:
awwpotato 2025-03-04 09:56:55 -08:00 committed by GitHub
parent 65c42633d4
commit afee64f3c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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; {