all repos — nixfiles @ 35d2774d1a867c97419740e7297ae00974108ff4

System and user configuration, managed by nix and home-manager

xserver: tweak font setup
Alan Pearce alan@alanpearce.eu
Wed, 19 Apr 2023 15:52:39 +0200
commit

35d2774d1a867c97419740e7297ae00974108ff4

parent

dd393d24735e325a33f6551c4ca9bef14f87dd80

2 files changed, 7 insertions(+), 10 deletions(-)

jump to
M system/settings/services/xserver.nixsystem/settings/services/xserver.nix
@@ -34,15 +34,10 @@ fontDir.enable = true;     enableDefaultFonts = false;
     fontconfig = {
       antialias = true;
-      subpixel = mkIf config.fonts.fontconfig.antialias {
-        lcdfilter = "default";
-        rgba = "rgb";
-      };
-      useEmbeddedBitmaps = !config.fonts.fontconfig.antialias;
       defaultFonts = {
-        monospace = [ "Source Code Pro" ];
-        sansSerif = [ "Cantarell" ];
-        serif = [ "Times New Roman" ];
+        monospace = [ "iA Writer Mono S" ];
+        sansSerif = [ "Source Sans Pro" ];
+        serif = [ "Source Serif Pro" ];
       };
 
       localConf = ''
@@ -79,6 +74,8 @@ fira         fira-code
         fira-mono
         ibm-plex
+
+        oxygenfonts
 
         source-code-pro
         source-sans-pro
M user/xresources/mainuser/xresources/main
@@ -1,7 +1,7 @@ #include "base16-tomorrow"
 
-*.faceName:               Source Code Pro:size=8
-*.font:                   -xos4-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*
+*.faceName:               IBM Plex Mono:size=10
+*.font:                   -xos4-terminus-medium-r-*-*-18-*-*-*-*-*-iso10646-*
 *.saveLines:              16384
 
 Xcursor.theme:            Capitane Cursors - White