dotfiles/config/lemonbar/bar.py
2018-09-05 09:07:37 +02:00

23 lines
750 B
Python
Executable file

#!/usr/bin/env python3
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)