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
# - (Linux/BSD) monospace
# - (Windows) Consolas
family: DejaVuSansMono Nerd Font Mono
family: DejaVuSansM Nerd Font Mono
# The `style` can be specified to pick a specific face.
style: Book
style: Regular
# Bold font face
bold:
@ -122,7 +122,7 @@ font:
#
# If the bold family is not specified, it will fall back to the
# 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.
style: Bold

View File

@ -15,7 +15,7 @@
<match target="pattern">
<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 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
# is used in the bar {} block below.
#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
# text rendering and scalability on retina/hidpi displays (thanks to pango).