How to toggle split?
Closed this issue · 2 comments
emanueljg commented
On i3, I had a setup where I'd toggle horizontal/vertical split on $mod+v
, so pressing the chord multiple times would make the split cycle between vertical to horizontal to vertical and so on. How do I replicate this behavior in hy3?
victorz commented
It's this, from the README:
hy3:changegroup, <h | v | tab | untab | toggletab | opposite>
- change the group the node belongs to, to a different layoutuntab
will untab the group if it was previously tabbedtoggletab
will untab if group is tabbed, and tab if group is untabbedopposite
will toggle between horizontal and vertical layouts if the group is not tabbed.
You then want: bind = $mod, v, hy3:changegroup, opposite
.
emanueljg commented
Thanks!