diff options
Diffstat (limited to 'modules/current-title.py')
| -rw-r--r-- | modules/current-title.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/current-title.py b/modules/current-title.py index c9cdde9..f995752 100644 --- a/modules/current-title.py +++ b/modules/current-title.py @@ -42,6 +42,6 @@ class Py3status: window = find_focused(i3.get_tree()) if window and "name" in window: - response["full_text"] = len(window["name"]) > MAX_WIDTH and "..." + window["name"][-MAX_WIDTH:] or window["name"] + response["full_text"] = len(window["name"]) > MAX_WIDTH and "..." + window["name"][-(MAX_WIDTH-3):] or window["name"] return (0, response) |
