Fix font directive, adjust python block rendering

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-05-08 16:48:13 +02:00
parent c7912aa7dc
commit a2a3837b15
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5
2 changed files with 2 additions and 2 deletions

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:DejaVuSansM Nerd Font Mono:style=Regular 8
font pango:DejaVuSansM Nerd Font 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).

View file

@ -73,7 +73,7 @@ class Block:
else:
text = result
print('{icon} {text}'.format(
print('{icon} {text}'.format(
icon=self.color_text(self.ICON, self.ICON_COLOR),
text=text,
))