atkinson hyperlegible -> lexica ultralegible

This commit is contained in:
Reid 2024-11-13 10:06:15 -08:00
parent e2f99e576b
commit e9119643c6
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
4 changed files with 14 additions and 13 deletions

View file

@ -2,7 +2,7 @@ window {
/*background: @base;*/ /*background: @base;*/
background: alpha(@base, 0.3); background: alpha(@base, 0.3);
color: @text; color: @text;
font-family: 'Atkinson Hyperlegible Pro', 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK; font-family: 'Lexica Ultralegible', 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;
font-size: 14px; font-size: 14px;
font-style: normal; font-style: normal;
} }

View file

@ -30,14 +30,14 @@ in {
fonts = { fonts = {
sansSerif = mkFontOption "sansSerif" { sansSerif = mkFontOption "sansSerif" {
package = pkgs.my.atkinson-hyperlegible-pro; package = pkgs.my.lexica-ultralegible;
family = "Atkinson Hyperlegible Pro"; family = "Lexica Ultralegible";
size = 11; size = 11;
}; };
serif = mkFontOption "serif" { serif = mkFontOption "serif" {
package = pkgs.my.atkinson-hyperlegible-pro; package = pkgs.my.lexica-ultralegible;
family = "Atkinson Hyperlegible Pro"; family = "Lexica Ultralegible";
size = 11; size = 11;
}; };

View file

@ -13,8 +13,7 @@ window#waybar {
/*background: alpha(@base, 0.6);*/ /*background: alpha(@base, 0.6);*/
background: @base; background: @base;
border-radius: 1em; border-radius: 1em;
/*font-family: VictorMono, Iosevka Nerd Font, Noto Sans CJK;*/ /*font-family: 'Lexica Ultralegible', 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;*/
/*font-family: 'Atkinson Hyperlegible', FontAwesome, Noto Sans CJK;*/
font-family: CozetteVector, monospace, FontAwesome, Noto Sans CJK; font-family: CozetteVector, monospace, FontAwesome, Noto Sans CJK;
font-size: 13px; font-size: 13px;
font-style: normal; font-style: normal;

View file

@ -1,27 +1,29 @@
{ lib, stdenvNoCC, fetchFromGitHub }: { lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "atkinson-hyperlegible-pro"; pname = "lexica-ultralegible";
version = "1.5.1-unstable"; version = "1.0.0-unstable";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jacobxperez"; owner = "jacobxperez";
repo = "atkinson-hyperlegible-pro"; repo = "lexica-ultralegible";
rev = "2576e71d09f57eac8d5e7d9d42b9e7ce49f759e1"; rev = "109729403ce6f5d9d74c6c6d8debc3380f3e3c10";
hash = "sha256-Zqr4dwrT/QWpYlNlLCVnWaZ6B5+yQ4Zh5pqYa7NBg3Y="; hash = "sha256-+mHIsmj2TL/sUVxUBsIqTK6D6GLgK4DgaiU9PTkgmUA=";
}; };
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
install -Dm644 -t $out/share/fonts/opentype fonts/otf/* install -Dm644 -t $out/share/fonts/opentype fonts/otf/*
install -Dm644 -t $out/share/fonts/truetype fonts/ttf/*
install -Dm644 -t $out/share/fonts/woff2 fonts/web/*
runHook postInstall runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
description = "Maintained version of Atkinson Hyperlegible"; description = "Maintained version of Atkinson Hyperlegible";
homepage = "https://jacobxperez.github.io/atkinson-hyperlegible-pro/"; homepage = "https://jacobxperez.github.io/lexica-ultralegible/";
license = licenses.ofl; license = licenses.ofl;
platforms = platforms.all; platforms = platforms.all;
}; };