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, ... }: { 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; [ home.packages = with pkgs; [
berkeley-mono
jetbrains-mono jetbrains-mono
noto-fonts noto-fonts
unifont unifont

View file

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.