aboutsummaryrefslogtreecommitdiffstats
path: root/examples/moderate
diff options
context:
space:
mode:
Diffstat (limited to 'examples/moderate')
-rw-r--r--examples/moderate4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/moderate b/examples/moderate
index 5a2cfab..3c14fe3 100644
--- a/examples/moderate
+++ b/examples/moderate
@@ -196,9 +196,11 @@ def chase():
solar_ = os.environ['HOME'] + '/.xpybar.sun'
def sun():
try:
- return Solar(solar_).output
+ 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),