conformal / spectrwm

A small dynamic tiling window manager for X11.
ISC License
1.33k stars 97 forks source link

Incorrect workspace ordering in PolyBar #484

Closed MaciekChudek closed 2 months ago

MaciekChudek commented 2 years ago

See discussion with a PolyBar developer here for additional context.

Polybar groups workspaces by viewport. Spectrwm reports viewports with the _NET_DESKTOP_VIEWPORT hint as:

This results in:

Also, this doesn't update when monitors change, but that's another issue (#483).

I like to have a workspace_indicator = listall style of status bar, where all workspaces are visible in numerical order and the active and non-empty ones are highlighted somehow. This is currently not possible with multiple monitors connected, unless they are positioned left-to-right in a very specific way. I suspect the current behaviour is desired by people who prefer to see just the active in the status bar.

Not sure the right way to solve this, but one possibility might be a spectrwm setting that causes all workspaces to be reported as 0 in _NET_DESKTOP_VIEWPORT, for people who prefer it my way?

LordReg commented 9 months ago

Is this still an issue since 3.5.1?