diff options
Diffstat (limited to '')
-rw-r--r-- | examples/plugins/cpu | 4 | ||||
-rw-r--r-- | examples/plugins/cpuinfo | 4 | ||||
-rw-r--r-- | examples/plugins/cpuonline | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/plugins/cpu b/examples/plugins/cpu index 0e4efcf..91701c1 100644 --- a/examples/plugins/cpu +++ b/examples/plugins/cpu @@ -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 @@ -34,7 +34,7 @@ clock = Clock(sync_to = Clock.SECONDS / 2) start_ = start def start(): start_() - async(lambda : clock.continuous_sync(lambda : bar.invalidate())) + xasync(lambda : clock.continuous_sync(lambda : bar.invalidate())) last_cpu_idle, last_cpu_total = 0, 0 diff --git a/examples/plugins/cpuinfo b/examples/plugins/cpuinfo index 9039186..2597ad0 100644 --- a/examples/plugins/cpuinfo +++ b/examples/plugins/cpuinfo @@ -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 @@ -34,7 +34,7 @@ clock = Clock(sync_to = 2.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(): diff --git a/examples/plugins/cpuonline b/examples/plugins/cpuonline index 300145f..b75ba4d 100644 --- a/examples/plugins/cpuonline +++ b/examples/plugins/cpuonline @@ -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 |