config: barpyrus: config.py: add dummy ConkyWidget
This commit is contained in:
parent
66e91a3308
commit
7f624d2742
1 changed files with 4 additions and 0 deletions
|
|
@ -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'),
|
||||||
])
|
])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue