I hope normal window will not have num attr and only empty workspace have num attr.
@@ -51,8 +51,7 @@ class Py3status:
def window_title(self):
window = find_focused(i3.get_tree())
- if not window or window.get('name') is None or \
- str(window.get('num')) == window.get('name'):
+ if not window or window.get('name') is None or window.get('num'):
window = {'name': ''}
transformed = False
