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. # The normal (roman) font face to use.
# Style can be specified to pick a specific face. # Style can be specified to pick a specific face.
normal: normal:
family: JetBrains Mono family: monospace
style: Medium Italic style: Medium Italic
bold: bold:
family: JetBrains Mono family: monospace
style: Bold style: Bold
italic: italic:
family: JetBrains Mono family: monospace
style: Bold Italic style: Bold Italic
# Point size of the font # Point size of the font

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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