bumblebee-status/bumblebee/modules/time.py

12 lines
288 B
Python
Raw Normal View History

import datetime
import bumblebee.module
class Module(bumblebee.module.Module):
def __init__(self, theme):
super(Module, self).__init__(theme)
def data(self):
return datetime.datetime.now().strftime("%x %X")
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4