aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tricks
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tricks')
-rw-r--r--examples/tricks/anytzclock6
-rw-r--r--examples/tricks/localutcclock6
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/tricks/anytzclock b/examples/tricks/anytzclock
index 44bc936..9ac1d46 100644
--- a/examples/tricks/anytzclock
+++ b/examples/tricks/anytzclock
@@ -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
@@ -84,8 +84,8 @@ def mqueue_wait():
start_ = start
def start():
start_()
- async(mqueue_wait)
- async(lambda : local_clock.continuous_sync(lambda : bar.invalidate()))
+ xasync(mqueue_wait)
+ xasync(lambda : local_clock.continuous_sync(lambda : bar.invalidate()))
def redraw():
diff --git a/examples/tricks/localutcclock b/examples/tricks/localutcclock
index e3bf6f4..db2baa4 100644
--- a/examples/tricks/localutcclock
+++ b/examples/tricks/localutcclock
@@ -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
@@ -70,8 +70,8 @@ def mqueue_wait():
start_ = start
def start():
start_()
- async(mqueue_wait)
- async(lambda : local_clock.continuous_sync(lambda : bar.invalidate()))
+ xasync(mqueue_wait)
+ xasync(lambda : local_clock.continuous_sync(lambda : bar.invalidate()))
def redraw():