From ce5235a66ea52e0ea7972a0b01e19400851ed200 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 28 Dec 2024 16:21:48 +0100 Subject: Font: Add new font --- dotfiles/.Xresources | 10 +++++----- dotfiles/alacritty.toml | 15 ++++++++++++++- dotfiles/xmobar.hs | 2 +- 3 files changed, 20 insertions(+), 7 deletions(-) (limited to 'dotfiles') diff --git a/dotfiles/.Xresources b/dotfiles/.Xresources index df0abd0..7d8f91c 100644 --- a/dotfiles/.Xresources +++ b/dotfiles/.Xresources @@ -12,11 +12,11 @@ URxvt.termName: xterm-256color URxvt.urgentOnBell: True URxvt.cursorBlink: False -#define font1 Inconsolata LGC Nerd Font -#define font2 DejaVu Sans Mono Nerd Font -#define font3 Noto Sans Mono CJK JP -#define font4 Noto Color Emoji -#define font5 Noto Sans Hebrew +#define font1 Berkeley Mono +#define font2 Inconsolata LGC Nerd Font +#define font3 DejaVu Sans Mono Nerd Font +#define font4 Noto Sans Mono CJK JP +#define font5 Noto Color Emoji URxvt*letterSpace: 0 URxvt*font: xft:font1:pixelsize=16, xft:font2:pixelsize=16,xft:font3:pixelsize=16, xft:font4:pixelsize=16, xft:font5:pixelsize=16 diff --git a/dotfiles/alacritty.toml b/dotfiles/alacritty.toml index f509f4c..aff5951 100644 --- a/dotfiles/alacritty.toml +++ b/dotfiles/alacritty.toml @@ -42,8 +42,21 @@ TERM = "xterm-256color" [font] size = 12.0 +[font.bold] +family = "Berkeley Mono" +style = "Bold" + +[font.bold_italic] +family = "Berkeley Mono" +style = "Bold Italic" + +[font.italic] +family = "Berkeley Mono" +style = "Italic" + [font.normal] -family = "Inconsolata LGC Nerd Font" +family = "Berkeley Mono" +style = "Regular" [[keyboard.bindings]] action = "Paste" diff --git a/dotfiles/xmobar.hs b/dotfiles/xmobar.hs index fe9e66b..9ffe08e 100644 --- a/dotfiles/xmobar.hs +++ b/dotfiles/xmobar.hs @@ -1,7 +1,7 @@ Config { -- appearance - font = "xft:Noto Sans Display Nerd Font:size=10,Inconsolata LGC Nerd Font:size=10,DejaVu Sans Mono Nerd Font:size=10,Noto Sans Mono CJK JP:size=10,Noto Color Emoji:size=10,Noto Sans Hebrew:size=10" + font = "xft:Berkeley Mono:size=10,Inconsolata LGC Nerd Font:size=10,DejaVu Sans Mono Nerd Font:size=10,Noto Sans Mono CJK JP:size=10,Noto Color Emoji:size=10,Noto Sans Hebrew:size=10" , bgColor = "#222222" , fgColor = "#bbbbbb" , position = Top -- cgit 1.4.1