<div dir="ltr">Hello,<div><br></div><div>If I understand 'up' and 'left' correctly, these pieces of shell script should accomplish what you want:</div><div><br></div><div style># Split UP</div><div><div>herbstclient split v 0.5</div>
<div>while herbstclient shift d; do</div><div> herbstclient focus u</div><div>done</div></div><div><br></div><div style>#Split LEFT</div><div style><div>herbstclient split h 0.5</div><div>while herbstclient shift r; do</div>
<div> herbstclient focus l</div><div>done</div><div><br></div><div style>Sorry for any typos, Im in a bit of a hurry.</div></div><div><br></div><div style>Cheers,</div><div style>tylo</div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 9:03 AM, Thorsten Wißmann <span dir="ltr"><<a href="mailto:edu@thorsten-wissmann.de" target="_blank">edu@thorsten-wissmann.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
On Thu, Dec 12, 2013 at 05:13:35PM +0100, Thorsten Wißmann wrote:<br>
> On Wed, Dec 04, 2013 at 09:52:28PM +0100, Flexo Rodriguez wrote:<br>
> > i having a feature request after i took a look on bspwm.<br>
> ><br>
> > in bspwm you can not just split the tree to the right and bottom but split a<br>
> > window to left and top. i think it would be a great improvement while handling<br>
> > frames in hlwm. so if it is possible without that much struggling i will be even<br>
> > more happy.<br>
><br>
> I just tried bspwm but still I'm not sure what you try to describe. So<br>
> when doing "herbstclient split vertical 0.5" an empty frame is created<br>
> "below" of the focused frame. Is your request that the new empty space<br>
> should appear above of the selected frame? (And analogous on the left?)<br>
><br>
> If yes that should be implemented quite easily.<br>
<br>
</div>I think it's very useful, so there are new split modes: top, left in<br>
addition to the old ones: vertical (alias: bottom) and horizontal<br>
(alias: right). The names indicate the (relative) location of the fresh<br>
and empty frame which is created.<br>
<br>
It seems quite often, that immediately after splitting, the fresh frame<br>
is focused by the user. So it might be an option to focus the fresh<br>
frame automatically after the split. Opinions?<br>
<br>
If you're interested in trying it, I had the following in my old musca<br>
config and really enjoyed it:<br>
<br>
herbstclient keybind Mod1-Mod4-h chain , split left 0.5 , focus left<br>
herbstclient keybind Mod1-Mod4-j chain , split bottom 0.5 , focus down<br>
herbstclient keybind Mod1-Mod4-k chain , split top 0.5 , focus up<br>
herbstclient keybind Mod1-Mod4-l chain , split right 0.5 , focus right<br>
herbstclient keybind Mod1-Mod4-r remove<br>
<br>
And maybe top/bottom should be renamed to up/down...<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Thorsten<br>
</font></span></blockquote></div><br></div>