fonts: Add BerkeleyMono
This commit is contained in:
parent
a5d299104f
commit
8d446a24a9
6 changed files with 25 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
BIN
secret/fonts/BerkeleyMono/BerkeleyMono-Bold.otf
Normal file
BIN
secret/fonts/BerkeleyMono/BerkeleyMono-Bold.otf
Normal file
Binary file not shown.
BIN
secret/fonts/BerkeleyMono/BerkeleyMono-BoldItalic.otf
Normal file
BIN
secret/fonts/BerkeleyMono/BerkeleyMono-BoldItalic.otf
Normal file
Binary file not shown.
BIN
secret/fonts/BerkeleyMono/BerkeleyMono-Italic.otf
Normal file
BIN
secret/fonts/BerkeleyMono/BerkeleyMono-Italic.otf
Normal file
Binary file not shown.
BIN
secret/fonts/BerkeleyMono/BerkeleyMono-Regular.otf
Normal file
BIN
secret/fonts/BerkeleyMono/BerkeleyMono-Regular.otf
Normal file
Binary file not shown.
Loading…
Reference in a new issue