From c41fc42c7ab0430208dc8af360337f93ab913921 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Mon, 20 Aug 2018 14:17:03 +0200 Subject: [PATCH] Rename count_lines to line --- py3status/modules/external_script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py3status/modules/external_script.py b/py3status/modules/external_script.py index 291a9241e9..c34b2dccc2 100644 --- a/py3status/modules/external_script.py +++ b/py3status/modules/external_script.py @@ -22,8 +22,8 @@ (default False) Format placeholders: + {line} number of lines in the output {output} output of script given by "script_path" - {count_lines} number of lines in the output i3status.conf example: @@ -86,7 +86,7 @@ def external_script(self): output_text = '' response['full_text'] = self.py3.safe_format( - self.format, {'output': output_text, 'count_lines': len(output_lines)}) + self.format, {'output': output_text, 'line': len(output_lines)}) return response def on_click(self, event):