1
0
Fork 0

fonts: Add BerkeleyMono

This commit is contained in:
Daniel Kempkens 2023-10-06 22:29:19 +02:00
parent a5d299104f
commit 8d446a24a9
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
6 changed files with 25 additions and 4 deletions

View file

@ -1,7 +1,28 @@
{ pkgs, ... }:
let
berkeley-mono = pkgs.stdenvNoCC.mkDerivation rec {
pname = "berkeley-mono";
version = "1.009";
src = ../../secret/fonts/BerkeleyMono;
dontPatch = true;
dontConfigure = true;
dontBuild = true;
doCheck = false;
dontFixup = true;
installPhase = ''
runHook preInstall
install -Dm644 -t $out/share/fonts/opentype/ *.otf
runHook postInstall
'';
};
in
{
home.packages = with pkgs; [
berkeley-mono
jetbrains-mono
noto-fonts
unifont

View file

@ -104,8 +104,8 @@
:tab_max_width 42
:window_frame {:active_titlebar_bg colors.frame-background
:inactive_titlebar_bg colors.frame-background
:font (wezterm.font {:family "JetBrains Mono"
:weight :Medium})
:font (wezterm.font {:family "Berkeley Mono"
:weight :Regular})
:font_size 11}
:colors {:tab_bar {:background colors.frame-background
:inactive_tab_edge colors.frame-background
@ -114,8 +114,8 @@
:new_tab_hover {:bg_color colors.hover-background
:fg_color colors.hover-foreground}}}
;; Fonts
:font (wezterm.font_with_fallback [{:family "JetBrains Mono"
:weight :Medium}
:font (wezterm.font_with_fallback [{:family "Berkeley Mono"
:weight :Regular}
"Symbols Nerd Font"
"Apple Symbols"
"Apple Color Emoji"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.