bumblebee-status/bumblebee/modules/time.py

12 lines
286 B
Python
Raw Normal View History

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