diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2013-03-05 15:30:07 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2013-03-05 15:30:07 +0100 |
| commit | 56299c80658445d1d96cd4b5e523873972cc654a (patch) | |
| tree | 05acf17435466ab316bdb64b6059c3fa69804896 /py3status | |
| parent | 2f6ef48b350ed10a9359382efc5d0253a0ecf86a (diff) | |
drop useless run_watch transformation, use i3status.conf format parameter instead
Diffstat (limited to 'py3status')
| -rw-r--r-- | py3status/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py index 57a3765..f01c306 100644 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -191,9 +191,6 @@ def transform(j, **kwargs): if item['name'] == 'time': date = datetime.strptime(item['full_text'], I3STATUS_CONFIG['time_format']) + timedelta(seconds=kwargs['delta']) item['full_text'] = date.strftime(I3STATUS_CONFIG['time_format']) - # run_watch modification, only when color is enabled on i3status - if item['name'] == 'run_watch' and I3STATUS_CONFIG['colors']: - item['full_text'] = item['full_text'].split(':')[0] return j def load_from_file(filepath): |
