2016-12-04 07:37:01 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import sys
|
2020-01-19 12:29:34 +00:00
|
|
|
import core.output
|
2017-09-16 10:22:20 +00:00
|
|
|
|
2016-12-04 07:37:01 +00:00
|
|
|
def main():
|
2020-01-19 12:29:34 +00:00
|
|
|
output = core.output.i3()
|
|
|
|
modules = []
|
|
|
|
# modules = core.module.modules()
|
|
|
|
sys.stdout.write(output.start())
|
|
|
|
while True:
|
|
|
|
sys.stdout.write(output.begin_status_line())
|
|
|
|
for module in modules:
|
|
|
|
# module.update()
|
|
|
|
sys.stdout.write(output.draw(module))
|
|
|
|
sys.stdout.write(output.end_status_line())
|
|
|
|
sys.stdout.write(output.stop())
|
2018-05-06 08:31:46 +00:00
|
|
|
|
2016-12-09 18:29:16 +00:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|
2016-12-04 07:37:01 +00:00
|
|
|
|
|
|
|
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|