summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-04-19 15:52:39 +0200
committerAlan Pearce2023-04-19 15:57:43 +0200
commit35d2774d1a867c97419740e7297ae00974108ff4 (patch)
treee4a43d591e6f8707d94ba0063a9db326aa4f525f
parentdd393d24735e325a33f6551c4ca9bef14f87dd80 (diff)
downloadnixfiles-35d2774d1a867c97419740e7297ae00974108ff4.tar.lz
nixfiles-35d2774d1a867c97419740e7297ae00974108ff4.tar.zst
nixfiles-35d2774d1a867c97419740e7297ae00974108ff4.zip
xserver: tweak font setup
-rw-r--r--system/settings/services/xserver.nix13
-rw-r--r--user/xresources/main4
2 files changed, 7 insertions, 10 deletions
diff --git a/system/settings/services/xserver.nix b/system/settings/services/xserver.nix
index 675db61d..656132ea 100644
--- a/system/settings/services/xserver.nix
+++ b/system/settings/services/xserver.nix
@@ -34,15 +34,10 @@ with lib; {
     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 = ''
@@ -80,6 +75,8 @@ with lib; {
         fira-mono
         ibm-plex
 
+        oxygenfonts
+
         source-code-pro
         source-sans-pro
         source-serif-pro
diff --git a/user/xresources/main b/user/xresources/main
index c962c029..3b803fbe 100644
--- a/user/xresources/main
+++ b/user/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