Widgets are extensions that have a ceertain ui funciton. To use a widget, you should use the widget extension. You also need to import it into the cfg.py
file. Here you will find how to configure the widgets and what they do.
Anything marked with "?" is optional.
This widget shows a clock.
fmt
- the format of the clock; this usestime.strftime
update
? - how often the clock should updatefont
- the font to use (e.g. 'Ubuntu 23')fore
? - the foreground colorback
? - the background color
This widget makes a horizontal bar.
back
? - the background color
height
- the height of the bar
width
- the width of the bar
This widget shows what is playing right now.
fmt
? - the format to use for the now playing textupdate
? - how often the text should updatefont
- the font to use (e.g. 'Ubuntu 23')step
? - how much the text should move every updatedefault
? - the default text for when nothing is playingwidth
? - the width of the text boxfore
? - the foreground colorback
? - the background color
Note
This requires the dbus-python
module to be installed. To install it, run pip3 install dbus-python
This widget shows a clock.
text
- the text to drawfont
- the font to use (e.g. 'Ubuntu 23')fore
? - the foreground colorback
? - the background color