From 73f27f48731f213396bc1e206a26f176986c8fdc Mon Sep 17 00:00:00 2001 From: Vasiliy Horbachenko Date: Thu, 22 May 2014 16:38:15 +0300 Subject: scratchpad counter and current title fixes --- modules/scratchpad-counter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/scratchpad-counter.py') diff --git a/modules/scratchpad-counter.py b/modules/scratchpad-counter.py index 5fc3c71..f2c7dbc 100644 --- a/modules/scratchpad-counter.py +++ b/modules/scratchpad-counter.py @@ -24,7 +24,7 @@ class Py3status: self.count = -1 super(Py3status).__init__(*args, **kwargs) - def currentTitle(self, json, i3status_config): + def scratchpadCounter(self, i3status_output_json, i3status_config): count = len(find_scratch(i3.get_tree()).get("floating_nodes", [])) if self.count != count: -- cgit v1.3