Specify fonts generically

Since we have a proper fontconfig in place, let that be the source
of truth for the font to be used and just specify monospace as the
font to be used everywhere else.
This commit is contained in:
Sanchayan Maity 2023-01-15 11:46:16 +05:30
parent 19adc209b4
commit 09894c1660
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
7 changed files with 15 additions and 15 deletions

View file

@ -61,15 +61,15 @@ font:
# The normal (roman) font face to use.
# Style can be specified to pick a specific face.
normal:
family: JetBrains Mono
family: monospace
style: Medium Italic
bold:
family: JetBrains Mono
family: monospace
style: Bold
italic:
family: JetBrains Mono
family: monospace
style: Bold Italic
# Point size of the font

View file

@ -4,10 +4,10 @@ term = foot-extra
login-shell = no
shell = tmux attach -t scratch
font = JetBrains Mono:style=Medium Italic:size=13
font-bold = JetBrains Mono:style=Bold:size=13
font-italic = JetBrains Mono:style=SemiBold Italic:size=13
font-bold-italic = JetBrains Mono:style=Bold Italic:size=13
font = monospace:style=Regular:size=13
font-bold = monospace:style=Bold:size=13
font-italic = monospace:style=SemiBold Italic:size=13
font-bold-italic = monospace:style=Bold Italic:size=13
box-drawings-uses-font-glyphs = yes
dpi-aware = yes

View file

@ -6,10 +6,10 @@
#: individual font faces and even specify special fonts for particular
#: characters.
font_family JetBrains Mono Regular
bold_font JetBrains Mono SemiBold
italic_font JetBrains Mono Italic
bold_italic_font JetBrains Mono SemiBold Italic
font_family monospace
bold_font auto
italic_font auto
bold_italic_font auto
#: You can specify different fonts for the bold/italic/bold-italic
#: variants. To get a full list of supported fonts use the `kitty

View file

@ -1,5 +1,5 @@
anchor=top-right
font=JetBrains Mono Bold Italic
font=monospace Bold Italic
default-timeout=0
text-color=#ebdbb2
border-color=#1d2021

View file

@ -89,7 +89,7 @@ c.aliases["h"] = "help"
# ** Appearance
# Preferred fonts
c.fonts.default_family = [
"JetBrains Mono",
"monospace",
]
c.fonts.default_size = "16pt"
c.fonts.tabs.selected = "18pt default_family"

View file

@ -1,4 +1,4 @@
font=JetBrains Mono
font=monospace
font-size=14
color=000000
inside-color=282828

View file

@ -7,5 +7,5 @@ set statusbar-h-padding 0
set statusbar-v-padding 0
set selection-clipboard clipboard
set font "JetBrains Mono 18"
set font "monospace 18"
set adjust-open "best-fit"