From 2f6ef48b350ed10a9359382efc5d0253a0ecf86a Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Tue, 26 Feb 2013 17:28:54 +0100 Subject: user Py3status classes get the i3status_config as argument so they can use i3status parameters such as user-defined colors --- py3status/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py3status/__init__.py') 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'): -- cgit v1.3