[xmonad] Change Layout Using a Hotkey

Tim DuBois tim at neophilus.net
Fri May 3 00:24:06 CEST 2013


Would it not be better to list all your layouts in the layoutHook; then
use avoidStruts to only allow a subset of those layouts to function on
your workspaces? That way your shortcuts (i.e. the layouts not listed in
avoidStruts) will still be accessible, just not 'visible' in general.

On 03/05/13 03:46, Eyal Erez wrote:
> Hi,
>
> I would like to bind a keyboard shortcut to change to a specific
> layout (e.g. Full, Grid, etc.).  I've been using  sendMessage $
> JumpToLayout "Full", however, it will only switch to a layout that is
> already configured in layoutHook.
>
> I'd like to switch to a layout that is _not_ in the layoutHook.  Is
> this possible?
>
> Thank you,
>
> -- 
> There are 10 types of people, those who know binary and those who don't.
>
>
>
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130503/bf73bc41/attachment.htm>


More information about the xmonad mailing list