How to change Polybar-Label of active Window?

I use EndeavourOs with BSPWM and would like to change the Polybar-Label of the active Window. Right now the full Path of the Directory is shown (home/user/documents/file). How to set, that only the actual file is labeled?

This has nothing to do with polybar AFAIK.
Check the specific program (file manager?), if it has such a setting.
IIRC it’s the xwindow module.
Or create a custom module with this function and share it, so I can use it too. :wink:

I found the solution here: https://github.com/polybar/polybar/wiki/Formatting.

So I changed label-maxlen to 200. Now I see the full path.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.