Fix updating issue with Qtile widget
This commit is contained in:
parent
597f67b85a
commit
7022b47ed9
|
@ -13,8 +13,11 @@ class Powerline(base._TextBox):
|
|||
self.powerline = PowerlineCore(ext='wm', renderer_module='pango_markup')
|
||||
|
||||
def update(self):
|
||||
if not self.configured:
|
||||
return True
|
||||
self.text = self.powerline.renderer.render(side='right')
|
||||
self.bar.draw()
|
||||
return True
|
||||
|
||||
def cmd_update(self, text):
|
||||
self.update(text)
|
||||
|
|
Loading…
Reference in New Issue