Fix font directive, adjust python block rendering
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c7912aa7dc
commit
a2a3837b15
2 changed files with 2 additions and 2 deletions
|
@ -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).
|
||||
|
|
|
@ -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,
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue