Adjust font config for changes in NerdFonts 3.x

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-05-07 12:55:01 +02:00
parent ec09b2884e
commit b7279070d8
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5
3 changed files with 5 additions and 5 deletions

View file

@ -111,10 +111,10 @@ font:
# - (macOS) Menlo # - (macOS) Menlo
# - (Linux/BSD) monospace # - (Linux/BSD) monospace
# - (Windows) Consolas # - (Windows) Consolas
family: DejaVuSansMono Nerd Font Mono family: DejaVuSansM Nerd Font Mono
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Book style: Regular
# Bold font face # Bold font face
bold: bold:
@ -122,7 +122,7 @@ font:
# #
# If the bold family is not specified, it will fall back to the # If the bold family is not specified, it will fall back to the
# value specified for the normal font. # value specified for the normal font.
family: DejaVuSansMono Nerd Font Mono family: DejaVuSansM Nerd Font Mono
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Bold style: Bold

View file

@ -15,7 +15,7 @@
<match target="pattern"> <match target="pattern">
<test qual="any" name="family"><string>monospace</string></test> <test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="assign" binding="same"><string>DejaVuSansMono Nerd Font Mono</string></edit> <edit name="family" mode="assign" binding="same"><string>DejaVuSansM Nerd Font Mono</string></edit>
</match> </match>
<match target="pattern"> <match target="pattern">

View file

@ -14,7 +14,7 @@ set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
#font pango:monospace 8 #font pango:monospace 8
font pango:DejaVuSansMono Nerd Font Mono:style=Book 8 font pango:DejaVuSansM Nerd Font Mono:style=Regular 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left # This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango). # text rendering and scalability on retina/hidpi displays (thanks to pango).