config: barpyrus: config.py: add dummy ConkyWidget

This commit is contained in:
Thomas Preisner 2018-03-01 22:32:14 +01:00
parent 66e91a3308
commit 7f624d2742

View file

@ -46,6 +46,9 @@ color = {
def frame(content, bg, fg, padding = (3, 3)): def frame(content, bg, fg, padding = (3, 3)):
return Theme(bg = color[bg], fg = color[fg], padding = padding)(content) return Theme(bg = color[bg], fg = color[fg], padding = padding)(content)
# conky specific configuration
conky_text = ''
# get space for the panel # get space for the panel
hc(['pad', str(monitor), str(height)]) hc(['pad', str(monitor), str(height)])
@ -66,5 +69,6 @@ bar.widget = W.ListLayout([
W.RawLabel('')), W.RawLabel('')),
W.RawLabel('%{r}'), W.RawLabel('%{r}'),
conky.ConkyWidget(text = conky_text),
frame(W.DateTime('%d. %B, %H:%M'), 'grey', 'white'), frame(W.DateTime('%d. %B, %H:%M'), 'grey', 'white'),
]) ])