Chromium: Use style const for the fonts.
This commit is contained in:
parent
7273cd0c62
commit
72ed9e7e17
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue