If I’m on desk 0, what’s the best way to (1) query if any window exists on desk x (where x is not the current desk) and (2) if a specific window is open on desk x?
So far, the only thing that I’ve got working is to set the equivalent state for each window (all windows on desk 1 have state 1 set, etc), but that seems somewhat wasteful since it uses up (in my case) 6 states.
It would be nice if there were a ‘desk n’ condition, but if such a thing exists, I haven’t found it.
It would not be a difficult thing to do – conditionals.c is all you would need to change as the struct (and hence the hints set on it) for which desk a window is on, already exists.