dotfiles/config/lemonbar/bar.py

23 lines
750 B
Python
Raw Normal View History

2018-08-21 18:10:57 +02:00
#!/usr/bin/env python3
2018-09-05 09:07:37 +02:00
from providers import *
if __name__ == "__main__":
Bar.init()
Updater.init()
Bar.addSectionAll(I3Provider(), BarGroupType.LEFT)
# TODO CPU provider
# TODO RAM provider
# TODO Temperature provider
# TODO Disk space provider
# TODO Screen (connected, autorandr configuration, bbswitch) provider
# TODO Unlocked keys provider
# TODO Mail provider
Bar.addSectionAll(TodoProvider(dir='~/.vdirsyncer/currentCalendars/'), BarGroupType.RIGHT)
Bar.addSectionAll(NetworkProvider(), BarGroupType.RIGHT)
Bar.addSectionAll(PulseaudioProvider(), BarGroupType.RIGHT)
Bar.addSectionAll(BatteryProvider(), BarGroupType.RIGHT)
Bar.addSectionAll(TimeProvider(), BarGroupType.RIGHT)