[xmonad] doFullFloat keybinding?

1126 mailinglists at elfsechsundzwanzig.de
Tue Jul 10 11:53:30 CEST 2012


On Tue, 10. Jul 05:40, wagnerdm at seas.upenn.edu wrote:
> Quoting 1126 <mailinglists at elfsechsundzwanzig.de>:
> 
> >Well, thank you. I already got an (more or less) complex
> >perWorkspace layout and I'm not entirely sure how to add a
> >non-avoidStruts layout for the workspace for evince (this would be
> >(workspace !! 5) in my case). Here's what I have now:
> >
> >myLayoutHook = avoidStruts . smartBorders
> >             . onWorkspace (myWorkspaces !! 0) (tiled |||
> >simpleTabbed ||| Full)
> >             . onWorkspace (myWorkspaces !! 2) (tiled ||| Full |||
> >simpleTabbed)
> >             . onWorkspace (myWorkspaces !! 3) (tiled2 |||
> >simpleTabbed ||| Full)
> >             . onWorkspace (myWorkspaces !! 8) (tiled3 ||| Full
> >|||  simpleTabbed)
> >             $ (Full ||| simpleTabbed ||| Grid)
> >    where
> >      tiled = ResizableTall 1 (5/100) (40/100) []
> >      tiled2 = Mirror (Tall 1 (5/100) (30/100))
> >      tiled3 = withIM (11/64) (Role "gimp-toolbox") $
> >ResizableTall 2  (1/118) (11/20) [1] ||| Full
> 
> You'll have to distribute avoidStruts over the onWorkspace commands.
> Try something like this (untested):
> 
> myLayoutHook = smartBorders
>              . onWSAvoid   (myWorkspaces !! 0) (tiled |||
> simpleTabbed ||| Full)
>              . onWSAvoid   (myWorkspaces !! 2) (tiled ||| Full |||
> simpleTabbed)
>              . onWSAvoid   (myWorkspaces !! 3) (tiled2 |||
> simpleTabbed ||| Full)
>              . onWorkspace (myWorkspaces !! 5) (Full |||
> simpleTabbed ||| Grid)
>              . onWSAvoid   (myWorkspaces !! 8) (tiled3 ||| Full |||
> simpleTabbed)
>              . avoidStruts
>              $ (Full ||| simpleTabbed ||| Grid)
>     where
>       tiled = ResizableTall 1 (5/100) (40/100) []
>       tiled2 = Mirror (Tall 1 (5/100) (30/100))
>       tiled3 = withIM (11/64) (Role "gimp-toolbox") $ ResizableTall
> 2  (1/118) (11/20) [1] ||| Full
>       onWSAvoid ws l = onWorkspace ws (avoidStruts l)

This actually works, thank you a lot! :)

And it does what I wanted. Great!

> 
> Remember to mod+shift+space on your evince workspace after you
> reload this config.
> 
> >The weird thing is, the workspace VLC has no problem with the
> >fullscreen-mode.
> >When I hit F11 in VLC it fills up the fullscreen, just like Evince
> >should. And
> >it resides on an avoidStruts workspace, too.
> 
> Can't help you here. Perhaps VLC uses a different fullscreening
> method than evince. But it sounded to me like you didn't actually
> want fullscreen'd evince anyway -- you still wanted them tiled when
> there was more than one.
> 
> ~d
> 
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad



More information about the xmonad mailing list