aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/__main__.py2
-rw-r--r--src/plugins/alsa.py2
-rw-r--r--src/plugins/application.py2
-rw-r--r--src/plugins/chase.py2
-rw-r--r--src/plugins/clock.py2
-rw-r--r--src/plugins/cpu.py2
-rw-r--r--src/plugins/cpuinfo.py2
-rw-r--r--src/plugins/cpuonline.py2
-rw-r--r--src/plugins/dentrystate.py2
-rw-r--r--src/plugins/df.py2
-rw-r--r--src/plugins/discstats.py2
-rw-r--r--src/plugins/files.py2
-rw-r--r--src/plugins/hdparm.py2
-rw-r--r--src/plugins/ii.py2
-rw-r--r--src/plugins/image.py2
-rw-r--r--src/plugins/inodestate.py2
-rw-r--r--src/plugins/inotify.py6
-rw-r--r--src/plugins/ipaddress.py2
-rw-r--r--src/plugins/kmsg.py2
-rw-r--r--src/plugins/leapsec.py2
-rw-r--r--src/plugins/lid.py2
-rw-r--r--src/plugins/linereader.py2
-rw-r--r--src/plugins/loadavg.py2
-rw-r--r--src/plugins/locks.py2
-rw-r--r--src/plugins/lunar.py2
-rw-r--r--src/plugins/mem.py2
-rw-r--r--src/plugins/menu.py2
-rw-r--r--src/plugins/moc.py2
-rw-r--r--src/plugins/network.py2
-rw-r--r--src/plugins/pacman.py2
-rw-r--r--src/plugins/ping.py4
-rw-r--r--src/plugins/powersupply.py2
-rw-r--r--src/plugins/random.py2
-rw-r--r--src/plugins/ropty.py2
-rw-r--r--src/plugins/snmp.py2
-rw-r--r--src/plugins/snmp6.py2
-rw-r--r--src/plugins/softirqs.py2
-rw-r--r--src/plugins/solar.py2
-rw-r--r--src/plugins/swaps.py2
-rw-r--r--src/plugins/tzclock.py2
-rw-r--r--src/plugins/uname.py2
-rw-r--r--src/plugins/uptime.py2
-rw-r--r--src/plugins/users.py2
-rw-r--r--src/plugins/vmstat.py2
-rw-r--r--src/plugins/weather.py2
-rw-r--r--src/plugins/xdisplay.py2
-rw-r--r--src/plugins/xkb.py2
-rw-r--r--src/restricted-hdparm.c2
-rw-r--r--src/util.py5
-rw-r--r--src/x.py2
50 files changed, 55 insertions, 54 deletions
diff --git a/src/__main__.py b/src/__main__.py
index 442c0a6..08194e9 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
copyright = '''
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
diff --git a/src/plugins/alsa.py b/src/plugins/alsa.py
index f0c6751..c7c095c 100644
--- a/src/plugins/alsa.py
+++ b/src/plugins/alsa.py
@@ -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
diff --git a/src/plugins/application.py b/src/plugins/application.py
index 7137f72..bd9d605 100644
--- a/src/plugins/application.py
+++ b/src/plugins/application.py
@@ -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
diff --git a/src/plugins/chase.py b/src/plugins/chase.py
index ad04a03..e906ba9 100644
--- a/src/plugins/chase.py
+++ b/src/plugins/chase.py
@@ -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
diff --git a/src/plugins/clock.py b/src/plugins/clock.py
index bb43958..a8841bb 100644
--- a/src/plugins/clock.py
+++ b/src/plugins/clock.py
@@ -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
diff --git a/src/plugins/cpu.py b/src/plugins/cpu.py
index b55d625..bc40e20 100644
--- a/src/plugins/cpu.py
+++ b/src/plugins/cpu.py
@@ -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
diff --git a/src/plugins/cpuinfo.py b/src/plugins/cpuinfo.py
index 7b034ec..8a11fdd 100644
--- a/src/plugins/cpuinfo.py
+++ b/src/plugins/cpuinfo.py
@@ -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
diff --git a/src/plugins/cpuonline.py b/src/plugins/cpuonline.py
index a219969..70d6405 100644
--- a/src/plugins/cpuonline.py
+++ b/src/plugins/cpuonline.py
@@ -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
diff --git a/src/plugins/dentrystate.py b/src/plugins/dentrystate.py
index 162cf76..bf8bc86 100644
--- a/src/plugins/dentrystate.py
+++ b/src/plugins/dentrystate.py
@@ -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
diff --git a/src/plugins/df.py b/src/plugins/df.py
index fbd557d..c7f5eef 100644
--- a/src/plugins/df.py
+++ b/src/plugins/df.py
@@ -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
diff --git a/src/plugins/discstats.py b/src/plugins/discstats.py
index 169db34..86aaad5 100644
--- a/src/plugins/discstats.py
+++ b/src/plugins/discstats.py
@@ -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
diff --git a/src/plugins/files.py b/src/plugins/files.py
index 68e807d..1907237 100644
--- a/src/plugins/files.py
+++ b/src/plugins/files.py
@@ -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
diff --git a/src/plugins/hdparm.py b/src/plugins/hdparm.py
index b1ccd8f..c769042 100644
--- a/src/plugins/hdparm.py
+++ b/src/plugins/hdparm.py
@@ -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
diff --git a/src/plugins/ii.py b/src/plugins/ii.py
index 3aa737a..a1ad953 100644
--- a/src/plugins/ii.py
+++ b/src/plugins/ii.py
@@ -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
diff --git a/src/plugins/image.py b/src/plugins/image.py
index 59a25a7..0260714 100644
--- a/src/plugins/image.py
+++ b/src/plugins/image.py
@@ -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
diff --git a/src/plugins/inodestate.py b/src/plugins/inodestate.py
index 9053480..6b78528 100644
--- a/src/plugins/inodestate.py
+++ b/src/plugins/inodestate.py
@@ -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
diff --git a/src/plugins/inotify.py b/src/plugins/inotify.py
index e056fb0..e640cd1 100644
--- a/src/plugins/inotify.py
+++ b/src/plugins/inotify.py
@@ -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 @@ class Inotify:
@param callback:(str)→void Function that will be called everytime a line is read from
`inotifywait`'s standard output, the parameter will be that line,
note that this will not be asynchronously, you may want to specify
- something like `lambda : async(fun)` for that, and use semaphores
+ something like `lambda : xasync(fun)` for that, and use semaphores
in `fun`.
@param arguments:*str The files and directories you want to watch and any addition
argument you want to pass to `inotifywait`
@@ -62,5 +62,5 @@ class Inotify:
with LineReader(spawn(*command)) as reader:
while True:
callback(reader.next())
- async(start)
+ xasync(start)
diff --git a/src/plugins/ipaddress.py b/src/plugins/ipaddress.py
index 13f877c..b9eecf2 100644
--- a/src/plugins/ipaddress.py
+++ b/src/plugins/ipaddress.py
@@ -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
diff --git a/src/plugins/kmsg.py b/src/plugins/kmsg.py
index 472af64..f7777d9 100644
--- a/src/plugins/kmsg.py
+++ b/src/plugins/kmsg.py
@@ -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
diff --git a/src/plugins/leapsec.py b/src/plugins/leapsec.py
index 167d19e..917a5a5 100644
--- a/src/plugins/leapsec.py
+++ b/src/plugins/leapsec.py
@@ -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
diff --git a/src/plugins/lid.py b/src/plugins/lid.py
index 29555d3..ea1253d 100644
--- a/src/plugins/lid.py
+++ b/src/plugins/lid.py
@@ -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
diff --git a/src/plugins/linereader.py b/src/plugins/linereader.py
index 4c624a2..01592bb 100644
--- a/src/plugins/linereader.py
+++ b/src/plugins/linereader.py
@@ -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
diff --git a/src/plugins/loadavg.py b/src/plugins/loadavg.py
index 880c9d0..c393671 100644
--- a/src/plugins/loadavg.py
+++ b/src/plugins/loadavg.py
@@ -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
diff --git a/src/plugins/locks.py b/src/plugins/locks.py
index 1770819..f4bb767 100644
--- a/src/plugins/locks.py
+++ b/src/plugins/locks.py
@@ -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
diff --git a/src/plugins/lunar.py b/src/plugins/lunar.py
index 1ccbd24..bb7d62a 100644
--- a/src/plugins/lunar.py
+++ b/src/plugins/lunar.py
@@ -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 Affero General Public License as published by
diff --git a/src/plugins/mem.py b/src/plugins/mem.py
index ad5437b..323f122 100644
--- a/src/plugins/mem.py
+++ b/src/plugins/mem.py
@@ -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
diff --git a/src/plugins/menu.py b/src/plugins/menu.py
index f0755c7..87e93cf 100644
--- a/src/plugins/menu.py
+++ b/src/plugins/menu.py
@@ -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
diff --git a/src/plugins/moc.py b/src/plugins/moc.py
index 98660ea..d396b1e 100644
--- a/src/plugins/moc.py
+++ b/src/plugins/moc.py
@@ -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
diff --git a/src/plugins/network.py b/src/plugins/network.py
index f309eda..3c77419 100644
--- a/src/plugins/network.py
+++ b/src/plugins/network.py
@@ -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
diff --git a/src/plugins/pacman.py b/src/plugins/pacman.py
index c10e537..af6a57f 100644
--- a/src/plugins/pacman.py
+++ b/src/plugins/pacman.py
@@ -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
diff --git a/src/plugins/ping.py b/src/plugins/ping.py
index 9bef291..21d6a1b 100644
--- a/src/plugins/ping.py
+++ b/src/plugins/ping.py
@@ -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
@@ -185,6 +185,6 @@ class Ping:
self.semaphore.release()
monitor = PingMonitor()
- async(monitor.start)
+ xasync(monitor.start)
return monitor
diff --git a/src/plugins/powersupply.py b/src/plugins/powersupply.py
index d3909ea..83ff1c4 100644
--- a/src/plugins/powersupply.py
+++ b/src/plugins/powersupply.py
@@ -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
diff --git a/src/plugins/random.py b/src/plugins/random.py
index 10b2df5..01952b7 100644
--- a/src/plugins/random.py
+++ b/src/plugins/random.py
@@ -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
diff --git a/src/plugins/ropty.py b/src/plugins/ropty.py
index 6602a5a..6246dd2 100644
--- a/src/plugins/ropty.py
+++ b/src/plugins/ropty.py
@@ -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
diff --git a/src/plugins/snmp.py b/src/plugins/snmp.py
index cba7760..185d297 100644
--- a/src/plugins/snmp.py
+++ b/src/plugins/snmp.py
@@ -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
diff --git a/src/plugins/snmp6.py b/src/plugins/snmp6.py
index d5470a9..350df7d 100644
--- a/src/plugins/snmp6.py
+++ b/src/plugins/snmp6.py
@@ -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
diff --git a/src/plugins/softirqs.py b/src/plugins/softirqs.py
index 9b3aaf5..c152aad 100644
--- a/src/plugins/softirqs.py
+++ b/src/plugins/softirqs.py
@@ -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
diff --git a/src/plugins/solar.py b/src/plugins/solar.py
index 9aec93c..7c7439e 100644
--- a/src/plugins/solar.py
+++ b/src/plugins/solar.py
@@ -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
diff --git a/src/plugins/swaps.py b/src/plugins/swaps.py
index 145390c..fbce950 100644
--- a/src/plugins/swaps.py
+++ b/src/plugins/swaps.py
@@ -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
diff --git a/src/plugins/tzclock.py b/src/plugins/tzclock.py
index 82a76ec..aeaf1f2 100644
--- a/src/plugins/tzclock.py
+++ b/src/plugins/tzclock.py
@@ -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
diff --git a/src/plugins/uname.py b/src/plugins/uname.py
index 4dc2d58..274c17d 100644
--- a/src/plugins/uname.py
+++ b/src/plugins/uname.py
@@ -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
diff --git a/src/plugins/uptime.py b/src/plugins/uptime.py
index 30985f1..e208cef 100644
--- a/src/plugins/uptime.py
+++ b/src/plugins/uptime.py
@@ -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
diff --git a/src/plugins/users.py b/src/plugins/users.py
index b911e72..52fb93d 100644
--- a/src/plugins/users.py
+++ b/src/plugins/users.py
@@ -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
diff --git a/src/plugins/vmstat.py b/src/plugins/vmstat.py
index 67e2a0a..0720fec 100644
--- a/src/plugins/vmstat.py
+++ b/src/plugins/vmstat.py
@@ -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
diff --git a/src/plugins/weather.py b/src/plugins/weather.py
index 61e1202..3b69ff0 100644
--- a/src/plugins/weather.py
+++ b/src/plugins/weather.py
@@ -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
diff --git a/src/plugins/xdisplay.py b/src/plugins/xdisplay.py
index 26b31ff..cc7833c 100644
--- a/src/plugins/xdisplay.py
+++ b/src/plugins/xdisplay.py
@@ -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
diff --git a/src/plugins/xkb.py b/src/plugins/xkb.py
index df51aec..b474114 100644
--- a/src/plugins/xkb.py
+++ b/src/plugins/xkb.py
@@ -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
diff --git a/src/restricted-hdparm.c b/src/restricted-hdparm.c
index 3a4461e..ee3449d 100644
--- a/src/restricted-hdparm.c
+++ b/src/restricted-hdparm.c
@@ -1,6 +1,6 @@
/**
* 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
diff --git a/src/util.py b/src/util.py
index 6a25461..6bd5616 100644
--- a/src/util.py
+++ b/src/util.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
'''
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
@@ -51,7 +51,7 @@ def setproctitle(title):
pass
-def async(target, name = None, group = None):
+def xasync(target, name = None, group = None):
'''
Start a function asynchronously
@@ -67,6 +67,7 @@ def async(target, name = None, group = None):
t.setDaemon(True)
t.start()
return t
+globals()['async'] = xasync ## xasync was named async until the release of Python 3.7 when it became a reserved keyword
def watch(interval, target, delay = 0):
diff --git a/src/x.py b/src/x.py
index 86ebaa3..681622a 100644
--- a/src/x.py
+++ b/src/x.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
'''
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