[xmonad] Wishing for a slightly different functionality with LayoutScreens
wirtwolff at gmail.com
Thu Dec 30 21:49:17 CET 2010
Excerpts from UK's message of Thu Dec 30 12:54:33 -0700 2010:
> I wished for a layout in which the bottom 1/10th of my screen would have a
> fixed few things (mostly filled with tail -f's of logs and such), while
> being free to use the rest of the upper 9/10 of the screen normally.
> I tried it out. It's working. I'm using the lines in this page exactly:
> , ((modm .|. shiftMask, xK_space), layoutScreens 2
> (TwoPane 0.5 0.5))
> , ((modm .|. controlMask .|. shiftMask, xK_space), rescreen)
> And this very nicely gets me what I wanted -- but just with one
> problem. Instead of the division being vertical, it's horizontal.
Looks like you want instead something like:
> (( <snipped> ), layoutScreens 2 $ Mirror (TwoPane 0.02 0.9))
I'm not sure the resize parameter, 0.02, matters for this purpose,
but it could be handy if you use TwoPane as an actual layout.
(Also if you do use TwoPane layout a lot, esp handy on small screens,
there are some somewhat weird keybindings in Actions RotSlaves and
CycleWindows that are handy for changing the visible windows when
you have more than two on that workspace.)
Hope that helps.
More information about the xmonad