Add system-ui customization
... and make the GTK apps use it
This commit is contained in:
parent
79d3deaac4
commit
38a1b1a889
|
@ -115,7 +115,7 @@ in
|
|||
## GTK
|
||||
gtk.enable = true;
|
||||
gtk.cursorTheme = { inherit (config.home.pointerCursor) package name size; };
|
||||
gtk.font.name = "Noto Sans";
|
||||
gtk.font.name = "system-ui";
|
||||
gtk.font.size = 10;
|
||||
gtk.iconTheme = {
|
||||
package = pkgs.numix-icon-theme;
|
||||
|
|
|
@ -39,6 +39,20 @@ in
|
|||
sansSerif = lib.mkBefore [ "IBM Plex Sans" "IBM Plex Sans JP" "IBM Plex Sans KR" ];
|
||||
monospace = lib.mkBefore [ "IBM Plex Mono" ];
|
||||
};
|
||||
localConf = ''
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias binding="same">
|
||||
<family>system-ui</family>
|
||||
<prefer>
|
||||
<family>IBM Plex Sans</family>
|
||||
<family>IBM Plex Sans JP</family>
|
||||
<family>IBM Plex Sans KR</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
'';
|
||||
};
|
||||
fontDir.enable = true;
|
||||
} else { }) // (if pkgs.stdenv.isDarwin then {
|
||||
|
|
Loading…
Reference in a new issue