aboutsummaryrefslogtreecommitdiffstats
path: root/examples/mixed
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mixed')
-rw-r--r--examples/mixed6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/mixed b/examples/mixed
index 4d03023..bbc4bcc 100644
--- a/examples/mixed
+++ b/examples/mixed
@@ -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
@@ -54,8 +54,8 @@ def start():
Clocked.update_all(functions)
bar.invalidate()
- async(lambda : forever(read_stdin))
- async(lambda : clock_.continuous_sync(update_per_clock))
+ xasync(lambda : forever(read_stdin))
+ xasync(lambda : clock_.continuous_sync(update_per_clock))
semaphore = threading.Semaphore()