summaryrefslogtreecommitdiffstats
path: root/py3status
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2013-02-26 17:28:54 +0100
committerUltrabug <ultrabug@gentoo.org>2013-02-26 17:28:54 +0100
commit2f6ef48b350ed10a9359382efc5d0253a0ecf86a (patch)
tree01e106fd31ba3efefad462aaa9f0649e33297898 /py3status
parentbd896bcfb205716edd6f6b7bae1078a444312298 (diff)
user Py3status classes get the i3status_config as argument so they can use i3status parameters such as user-defined colors
Diffstat (limited to 'py3status')
-rw-r--r--py3status/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py
index 3dd7411..57a3765 100644
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -163,7 +163,7 @@ def inject(j):
except KeyError:
# execute the method
meth = getattr(my_class, my_method)
- index, result = meth(j)
+ index, result = meth(j, I3STATUS_CONFIG)
# respect user-defined cache timeout for this module
if not result.has_key('cached_until'):