64f5fc100e
Add a way to specify prefix and postfix strings to the full text of a widget's text. Currently, the theme does not fill those yet. see #23
27 lines
634 B
Python
Executable file
27 lines
634 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import sys
|
|
import bumblebee.theme
|
|
import bumblebee.engine
|
|
import bumblebee.config
|
|
import bumblebee.output
|
|
|
|
def main():
|
|
config = bumblebee.config.Config(sys.argv[1:])
|
|
theme = bumblebee.theme.Theme(config.theme())
|
|
output = bumblebee.output.I3BarOutput(theme=theme)
|
|
engine = bumblebee.engine.Engine(
|
|
config=config,
|
|
output=output,
|
|
)
|
|
|
|
engine.run()
|
|
|
|
if __name__ == "__main__":
|
|
try:
|
|
main()
|
|
except bumblebee.error.BaseError as error:
|
|
sys.stderr.write("fatal: {}\n".format(error))
|
|
sys.exit(1)
|
|
|
|
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|