Chromium: Use style const for the fonts.

This commit is contained in:
Dmitry Voronin 2024-10-27 13:36:37 +03:00
parent 7273cd0c62
commit 72ed9e7e17
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, config, ... }:
{ {
file = (pkgs.formats.json { }).generate "ChromiumConfig" { file = (pkgs.formats.json { }).generate "ChromiumConfig" {
bookmark_bar.show_on_all_tabs = false; bookmark_bar.show_on_all_tabs = false;
@ -64,8 +64,8 @@
default_font_size = 17; default_font_size = 17;
minimum_font_size = 16; minimum_font_size = 16;
fonts = let fonts = let
mono = "Terminess Nerd Font Mono"; mono = config.style.font.monospace.name;
sans = "SF Pro"; sans = config.style.font.sansSerif.name;
in in
{ {
fixed.Zyyy = mono; fixed.Zyyy = mono;