mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
overlays/iosevka: refactor
iosevka overlay now uses iosevka config build plans in extesible forms!
This commit is contained in:
parent
acab4af809
commit
f2bd846e22
7 changed files with 325 additions and 193 deletions
24
nix/overlays/iosevka/spacings.nix
Normal file
24
nix/overlays/iosevka/spacings.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib }:
|
||||
|
||||
let
|
||||
list = [
|
||||
{ spacing = "normal"; }
|
||||
|
||||
# Iosevka + Ghostty makes "…" display in a odd way.
|
||||
# We use "term" width to avoid this.
|
||||
# https://github.com/ghostty-org/ghostty/discussions/10335
|
||||
{ spacing = "term"; }
|
||||
];
|
||||
in
|
||||
|
||||
map (
|
||||
{ spacing }@cfg:
|
||||
let
|
||||
name = lib.toSentenceCase spacing;
|
||||
in
|
||||
final: prev:
|
||||
cfg
|
||||
// {
|
||||
family = prev.family + "-${name}";
|
||||
}
|
||||
) list
|
||||
Loading…
Add table
Add a link
Reference in a new issue