i3ipc-python
i3ipc-python copied to clipboard
cycle-focus: add --focused-output & --focused-workspace options
- these track window lists (and indices) per output and per workspace respectively. note this deviates from the as-is functionality, where there was only a single global window list. these new options essentially scope the alt-tabbing to specific areas.
- existing options are backwards-compatible.
If this is accepted, please see follow-up PR #193 that builds upon this one.
I'd also make a case for deprecating existing --active-workspace functionality & replace with the new logic implemented by --focused-workspace; scoping (and remembering!) window lists per workspace as opposed to keeping a single global list is bound to be more useful.
What's your opinion on this @acrisci ?