summaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/empty_class.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/empty_class.py b/examples/empty_class.py
index 67ab5ac..fefc442 100644
--- a/examples/empty_class.py
+++ b/examples/empty_class.py
@@ -2,7 +2,7 @@ class Py3status:
"""
Empty and basic py3status class
"""
- def empty(self, json):
+ def empty(self, json, i3status_config):
"""
This method will return an empty text message, so it will NOT be displayed.
If you want something displayed you should write something in the 'full_text' key of your response.