summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-27 13:08:31 +0100
committertv <tv@krebsco.de>2023-01-27 13:51:05 +0100
commit1499d5c3934e873041069d6b84bb4704beb83ead (patch)
treea76ea54a60c6ffdbf1388034c63686d082232eaf
parent57264b76503386e086cc4bb4d5f138bb2cb94856 (diff)
tv iosevka 1: streamline package
-rw-r--r--tv/5pkgs/override/iosevka-tv-1.nix8
-rw-r--r--tv/5pkgs/simple/alacritty-tv.nix8
-rw-r--r--tv/5pkgs/simple/iosevka-tv-1.nix4
3 files changed, 10 insertions, 10 deletions
diff --git a/tv/5pkgs/override/iosevka-tv-1.nix b/tv/5pkgs/override/iosevka-tv-1.nix
index 3b3df6e0f..99b82d514 100644
--- a/tv/5pkgs/override/iosevka-tv-1.nix
+++ b/tv/5pkgs/override/iosevka-tv-1.nix
@@ -10,11 +10,11 @@ let
"https://c.krebsco.de/iosevka-tv-1-${version}.tar.gz"
"https://ni.krebsco.de/~tv/mirrors/iosevka/iosevka-tv-1-${version}.tar.gz"
];
- sha256 = "0shsvlb1cmn39l33nzd5bj8g0h9jg7rdq8hvlac8qvnzfhpi5s6k";
+ hash = "sha256-88OfNUbuNbGx3hFzYZ+gAYgOWZ+A8IYo45I1n/qOyhM=";
};
installPhase = ''
- mkdir -p $out/share/fonts/truetype
- mv -v *.ttf $out/share/fonts/truetype
+ mkdir $out
+ mv * $out/
'';
};
in
@@ -23,4 +23,4 @@ if super.iosevka.version == prebuilt.version then
prebuilt
else
- super.iosevka
+ super.iosevka-tv-1
diff --git a/tv/5pkgs/simple/alacritty-tv.nix b/tv/5pkgs/simple/alacritty-tv.nix
index 1c7730a71..6c2f49db0 100644
--- a/tv/5pkgs/simple/alacritty-tv.nix
+++ b/tv/5pkgs/simple/alacritty-tv.nix
@@ -53,10 +53,10 @@ let
window.dimensions.lines = 9;
};
variants.hidpi = {
- font.normal.family = "iosevka-tv-1";
- font.bold.family = "iosevka-tv-1";
- font.italic.family = "iosevka-tv-1";
- font.bold_italic.family = "iosevka-tv-1";
+ font.normal.family = "iosevka tv 1";
+ font.bold.family = "iosevka tv 1";
+ font.italic.family = "iosevka tv 1";
+ font.bold_italic.family = "iosevka tv 1";
font.size = 5;
key_bindings = [
{ key = "Up"; mods = "Control"; action = "IncreaseFontSize"; }
diff --git a/tv/5pkgs/simple/iosevka-tv-1.nix b/tv/5pkgs/simple/iosevka-tv-1.nix
index f72565bc7..0f8b4d4b2 100644
--- a/tv/5pkgs/simple/iosevka-tv-1.nix
+++ b/tv/5pkgs/simple/iosevka-tv-1.nix
@@ -3,7 +3,7 @@
pkgs.iosevka.override {
# https://typeof.net/Iosevka/customizer
privateBuildPlan = {
- family = "iosevka-tv-1";
+ family = "iosevka tv 1";
spacing = "term";
serifs = "sans";
export-glyph-names = true;
@@ -14,5 +14,5 @@ pkgs.iosevka.override {
widths.normal.menu = 5;
widths.normal.css = "normal";
};
- set = "iosevka-tv-1";
+ set = "tv-1";
}