[sway] Dynamic workspace names in the panel

I did use tint2 in i3, but it doesn't work with Sway. The swaybar + py3status combo allows to display almost every kind of information, but the workspace indicator still displays nothing but numbers. That's why I wrote a simple script, which utilizes the i3ipc-python module to rename workspaces after the last focused window:

4 Likes