diff options
author | lassulus <lassulus@lassul.us> | 2022-11-22 00:14:31 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-11-22 00:14:31 +0100 |
commit | 1079d8ed9b1dc1464619b52496475b1860989f80 (patch) | |
tree | db85d29a1e5d3c639f6053f679b751f5cce725ed | |
parent | d6e4afaa99321830f8bf4de482150399decbe1d9 (diff) |
l: use iosevka font from kookie
-rw-r--r-- | lass/2configs/alacritty.nix | 12 | ||||
-rw-r--r-- | lass/2configs/baseX.nix | 49 |
2 files changed, 54 insertions, 7 deletions
diff --git a/lass/2configs/alacritty.nix b/lass/2configs/alacritty.nix index 903ddf6cc..e97db0fc4 100644 --- a/lass/2configs/alacritty.nix +++ b/lass/2configs/alacritty.nix @@ -1,21 +1,23 @@ { config, lib, pkgs, ... }: let alacritty-cfg = extrVals: builtins.toJSON ({ - font = { + font = let + family = "Iosevka"; + in { normal = { - family = "Inconsolata"; + family = family; style = "Regular"; }; bold = { - family = "Inconsolata"; + family = family; style = "Bold"; }; italic = { - family = "Inconsolata"; + family = family; style = "Italic"; }; bold_italic = { - family = "Inconsolata"; + family = family; style = "Bold Italic"; }; size = 8; diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix index 164569793..ea35fd4e8 100644 --- a/lass/2configs/baseX.nix +++ b/lass/2configs/baseX.nix @@ -108,10 +108,55 @@ in { enableGhostscriptFonts = true; fonts = with pkgs; [ - hack-font xorg.fontschumachermisc - terminus_font_ttf inconsolata + noto-fonts + (iosevka.override { + privateBuildPlan = { + family = "Iosevka"; + spacing = "normal"; + serifs = "sans"; + no-ligation = true; + + variants.design = { + capital-i = "serifless"; + capital-j = "serifless"; + a = "double-storey-tailed"; + b = "toothless-corner"; + d = "toothless-corner-serifless"; + f = "flat-hook-tailed"; + g = "earless-corner"; + i = "tailed"; + j = "serifless"; + l = "tailed"; + + m = "earless-corner-double-arch"; + n = "earless-corner-straight"; + p = "earless-corner"; + q = "earless-corner"; + r = "earless-corner"; + u = "toothless-rounded"; + y = "cursive-flat-hook"; + + one = "line"; + two = "straight-neck"; + three = "flat-top"; + four = "open"; + six = "open-contour"; + seven = "straight-serifless"; + eight = "two-circles"; + nine = "open-contour"; + tilde = "low"; + asterisk = "hex-low"; + number-sign = "upright"; + at = "short"; + dollar = "open"; + percent = "dots"; + question = "corner-flat-hooked"; + }; + }; + set = "kookiefonts"; + }) ]; }; |