aboutsummaryrefslogtreecommitdiffstats
path: root/examples/plugins/df
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-09 12:56:09 +0200
committerMattias Andrée <maandree@kth.se>2018-08-09 13:08:00 +0200
commitbf3451db6f6d766b5ca0d0be9739f5d1b17f5cb2 (patch)
treed7c96b011de24ba3d7e841ed6bd48375262a671d /examples/plugins/df
parentm (diff)
downloadxpybar-9b7145f2237581f11d777a272fbc9aef4e947aa5.tar.gz
xpybar-9b7145f2237581f11d777a272fbc9aef4e947aa5.tar.bz2
xpybar-9b7145f2237581f11d777a272fbc9aef4e947aa5.tar.xz
Update for Python 3.7 (broke syntax backwards compatibility) and update year and email1.20
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'examples/plugins/df')
-rw-r--r--examples/plugins/df4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plugins/df b/examples/plugins/df
index 4132911..53701a0 100644
--- a/examples/plugins/df
+++ b/examples/plugins/df
@@ -1,7 +1,7 @@
# -*- python -*-
'''
xpybar – xmobar replacement written in python
-Copyright © 2014, 2015, 2016, 2017 Mattias Andrée (maandree@member.fsf.org)
+Copyright © 2014, 2015, 2016, 2017, 2018 Mattias Andrée (maandree@kth.se)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ clock = Clock(sync_to = 5 * Clock.SECONDS)
start_ = start
def start():
start_()
- async(lambda : clock.continuous_sync(lambda : bar.invalidate()))
+ xasync(lambda : clock.continuous_sync(lambda : bar.invalidate()))
def redraw():