Lyr-7D1h/swayest_workstyle

Skip matched windows on empty value

Closed this issue · 6 comments

I would like to skip some matched windows.
This could be configured by giving an empty string as a value.

If a window is matched and the associated value is empty, I would like no icon to be added to the workspace for this window.
The current behavior adds unwanted space.

Rintse commented

I guess this configuration could be achieved by adding spaces to the icons that you do want to show, and setting separator to the empty string in my fork.

Rintse commented

Another idea is to have an exclude=[..] field in the config.

#38 got merged 🚀

Unfortunately, this does not solve my issue, since this would mean I would get an unwanted additional separator before the first or after the last icon.

I have proposed my own way to solve this #39

Ahh yes sorry I glossed over the issue too fast. I've merged your pr @Fxxxlei !