diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-08-07 14:34:32 +0200 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-08-07 14:34:32 +0200 |
| commit | e0cbb01dd1557ddf6121c59c76bd5d2e88c2b9b5 (patch) | |
| tree | 92727731fd5ae34d609a070d66af047b0a33de3a /py3status/__init__.py | |
| parent | 63d9458a7ffda09b278d007b82ae31b65dba4293 (diff) | |
sort i3status generated config file for better readability
Diffstat (limited to 'py3status/__init__.py')
| -rwxr-xr-x | py3status/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py index bbf2560..460a338 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -473,7 +473,7 @@ class I3status(Thread): Given a temporary file descriptor, write a valid i3status config file based on the parsed one from 'i3status_config_path'. """ - for section_name, conf in self.config.items(): + for section_name, conf in sorted(self.config.items()): if section_name in ['i3s_modules', 'py3_modules']: continue elif section_name == 'order': |
