bumblebee-status/bumblebee/modules/spacer.py

21 lines
474 B
Python
Raw Normal View History

import bumblebee.module
import bumblebee.util
def usage():
return "spacer"
def notes():
return "none"
def description():
return "Draws an empty field."
class Module(bumblebee.module.Module):
def __init__(self, output, config, alias):
super(Module, self).__init__(output, config, alias)
2016-11-05 13:53:08 +01:00
def widgets(self):
return bumblebee.output.Widget(self, self._config.parameter("text", ""))
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4