xserver: tweak font setup
Alan Pearce alan@alanpearce.eu
Wed, 19 Apr 2023 15:52:39 +0200
2 files changed, 7 insertions(+), 10 deletions(-)
M system/settings/services/xserver.nix → system/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/main → 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