Hyprland
Hyprland copied to clipboard
Master layout ability to cycle through stack
trafficstars
Add a new option to switch master window with the next or previous on stack. But keep the focus on master.
Consider the following example layout with * denoting the currently focused window: Next window on stack
+-----------+-----------+
| | B |
| +-----------+
| A* | C |
| +-----------+
| | D |
+-----------+-----------+
Next window on stack
+-----------+-----------+
| | C |
| +-----------+
| B* | D |
| +-----------+
| | A |
+-----------+-----------+
Next window on stack
+-----------+-----------+
| | D |
| +-----------+
| C* | A |
| +-----------+
| | B |
+-----------+-----------+
Previous window on stack
+-----------+-----------+
| | C |
| +-----------+
| B* | D |
| +-----------+
| | A |
+-----------+-----------+
how would this behave with multiple masters?
I have not used multiple masters. The most intuitive solution I think would be to swap the focused master with next or previous on stack.
+-----------+-----------+
| A* | B |
| +-----------+
+-----------+ C |
| +-----------+
| E | D |
+-----------+-----------+
Next window on stack
+-----------+-----------+
| B* | C |
| +-----------+
+-----------+ D |
| +-----------+
| E | A |
+-----------+-----------+
Swap focus
+-----------+-----------+
| B | C |
| +-----------+
+-----------+ D |
| +-----------+
| E* | A |
+-----------+-----------+
Next window on stack
+-----------+-----------+
| B | D |
| +-----------+
+-----------+ A |
| +-----------+
| C* | E |
+-----------+-----------+
This would be awesome