Feature request - rotate grid
Florian Bruhin
me at the-compiler.org
Mon Jan 19 16:39:50 CET 2015
* Steven Hum <sdothum at gmail.com> [2015-01-19 10:28:51 -0500]:
> One feature I find convenient (coming from bspwm) is the ability to
> rotate a grid (with value +/- 1 for bi-directional control, of course!)
> much like the rotate (frame) action. I haven't worked with your object
> tree enough to know whether this would be simple enough to script -- but
> I am hoping your rotate frame facility might make this easy enough to
> implement!
I'm not sure how easy this will be to implement, but I'm sure Thorsten
will comment :) If you have a github account, I suggest opening an
issue at https://github.com/herbstluftwm/herbstluftwm/issues so it
won't get lost :)
> Lastly, one lazy feature would be the ability to "toggle" max for
> a layout (in a frame), returning to the pre-max layout on the next
> toggle. I know one can simply set the layout to max but then one needs
> to cycle back to the original layout. I haven't scripted this because
> there does not appear to be a way to query the current layout in focus.
You can use hc dump '' '@' to dump the state of the focused frame,
and e.g. sed to get the layout from that:
$ hc dump '' '@' | sed 's/[^ ]* \([^:]*\).*/\1/'
grid
> Perhaps you could add a "frame" object to your object tree.
I started contributing code for that[1] more than a year ago - but it
was removed some hours later because there were segfaults.
I recently talked to another developer (ypnos) about this, and we
decided to implement it again when the C++ rewrite[2] is merged.
[1] http://git.the-compiler.org/herbstluftwm/log/?h=frame_objects
[2] https://github.com/herbstluftwm/herbstluftwm/tree/winterbreeze
> All in all, appreciate the work you have done on this wm. There are many
> commands that I have not begun to explore the utility of. But I love the
> facility you have provided to control herbstluftwm via scripting (much
> like bspwm)!
Note bspwm was inspired by hlwm ;)
http://herbstluftwm.org/archive/msg00054.html
Florian
--
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20150119/4157d720/attachment.sig>
More information about the hlwm
mailing list