aboutsummaryrefslogtreecommitdiffstats
path: root/examples/plugins/alsa
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plugins/alsa')
-rw-r--r--examples/plugins/alsa4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plugins/alsa b/examples/plugins/alsa
index 3aa9efd..9ebd3db 100644
--- a/examples/plugins/alsa
+++ b/examples/plugins/alsa
@@ -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
@@ -36,7 +36,7 @@ cardnames = ALSA.get_cards()
start_ = start
def start():
start_()
- async(lambda : clock.continuous_sync(lambda : bar.invalidate()))
+ xasync(lambda : clock.continuous_sync(lambda : bar.invalidate()))
text_v = lambda v : '--%' if v is None else ('%2i%%' % v)[:3]
read_m = lambda m : '%s: %s' % (m.mixername, ' '.join(text_v(v) for v in m.get_volume()))