about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-21 07:47:34 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-21 07:47:34 -0800
commitcc753de3f996da0fb629521133abfdde14ade579 (patch)
tree9285ecf4ef6227006edb45739d6566d85c858aeb
parentfeat(templates/rust): add configuration for drone CI (diff)
downloadworld-cc753de3f996da0fb629521133abfdde14ade579.tar.gz
ref(fonts): switch back to source code pro
I find Source Code Pro to be more readable than iosevka.
Diffstat (limited to '')
-rw-r--r--home/terminal/alacritty/default.nix2
-rw-r--r--home/wm/waybar/style.css2
-rw-r--r--modules/system/fonts/default.nix12
3 files changed, 2 insertions, 14 deletions
diff --git a/home/terminal/alacritty/default.nix b/home/terminal/alacritty/default.nix
index f5fabd7..a2b9e9a 100644
--- a/home/terminal/alacritty/default.nix
+++ b/home/terminal/alacritty/default.nix
@@ -13,7 +13,7 @@ in
         selection = { save_to_clipboard = true; };
         font = {
           size = 13;
-          normal.family = "Iosevka Term Extended";
+          normal.family = "Source Code Pro";
         };
         cursor = {
           style.blinking = "Never";
diff --git a/home/wm/waybar/style.css b/home/wm/waybar/style.css
index d50dd3d..e4565c8 100644
--- a/home/wm/waybar/style.css
+++ b/home/wm/waybar/style.css
@@ -6,7 +6,7 @@
   padding: 0;
 }
 #waybar {
-  font-family: Iosevka Extended;
+  font-family: Source Code Pro;
   font-size: 15px;
 }
 window#waybar {
diff --git a/modules/system/fonts/default.nix b/modules/system/fonts/default.nix
index acef713..d4cd077 100644
--- a/modules/system/fonts/default.nix
+++ b/modules/system/fonts/default.nix
@@ -1,10 +1,6 @@
 { pkgs, config, lib, ... }:
 let
   cfg = config.my.systems.fonts;
-  iosevka-aile = pkgs.iosevka-bin.override { variant = "aile"; };
-  iosevka-curly = pkgs.iosevka-bin.override { variant = "curly"; };
-  iosevka-etoile = pkgs.iosevka-bin.override { variant = "etoile"; };
-  iosevka-slab = pkgs.iosevka-bin.override { variant = "slab"; };
 in
 {
   options.my.systems.fonts = with lib; {
@@ -17,16 +13,8 @@ in
       fontDir.enable = true;
       fontconfig.enable = true;
       fonts = with pkgs; [
-        cascadia-code
         dejavu_fonts
-        fira-code
         font-awesome_5
-        iosevka
-        iosevka-aile
-        iosevka-bin
-        iosevka-curly
-        iosevka-etoile
-        iosevka-slab
         noto-fonts
         noto-fonts-cjk # Chinese, Japanese, Korean
         noto-fonts-emoji