2016-12-04 08:37:01 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import sys
|
2020-01-19 13:29:34 +01:00
|
|
|
import core.output
|
2017-09-16 12:22:20 +02:00
|
|
|
|
2016-12-04 08:37:01 +01:00
|
|
|
def main():
|
2020-01-19 13:29:34 +01: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 10:31:46 +02:00
|
|
|
|
2016-12-09 19:29:16 +01:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|
2016-12-04 08:37:01 +01:00
|
|
|
|
|
|
|
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|