diff options
Diffstat (limited to 'examples/moderate')
-rw-r--r-- | examples/moderate | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/examples/moderate b/examples/moderate index f25cbb1..905fe01 100644 --- a/examples/moderate +++ b/examples/moderate @@ -14,7 +14,6 @@ from plugins.pacman import Pacman from plugins.uname import Uname from plugins.weather import Weather from plugins.chase import Chase -from plugins.solar import Solar OUTPUT, YPOS, TOP = 0, 24, True @@ -205,27 +204,19 @@ def chase(): return '\033[%smChase\033[0m' % status -solar_ = os.environ['HOME'] + '/.xpybar.sun' -def sun(): - try: - return 'Sun: %s' % Solar(solar_).output - except: - return '¿Cannot get solar information?' - functions = [ Sometimes(lambda : clock_.read(), 1 * 2), lambda : time.time() % 1, Sometimes(users, 1 * 2), weather, chase, - Sometimes(sun, 1 * 2), cpu, memory, network, Sometimes(uname, 30 * 60 * 2), ] -pattern = [ '%s │ %.2f │ %s │ %s │ %s │ %s }{ %s │ %s │ %s │ %s' +pattern = [ '%s │ %.2f │ %s │ %s │ %s }{ %s │ %s │ %s │ %s' ] |