I do like this to toggle a ws to full<br>...<br>, layoutHook = avoidStruts $ toggleLayouts Full $ myLayout<br>} `additionalKeysP`<br>[ (&quot;M-f&quot;, sendMessage ToggleStruts &gt;&gt; sendMessage ToggleLayout)<br>]<br><br>

Regards,<br>Henrique G. Abreu<br>
<br><br><div class="gmail_quote">On Fri, Oct 9, 2009 at 01:17, Ones Self <span dir="ltr">&lt;<a href="mailto:w1rixgj02@sneakemail.com">w1rixgj02@sneakemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi All,<br>
<br>
I&#39;ve been using xmonad for a few months now, and I love it.  I<br>
continuously find better and better ways to set up my desktop.  One<br>
thing I&#39;ve been struggling with is fullscreen.  I use this mostly for<br>
watching movies, but also potentially for showing a presentation.<br>
I would like to either have key combination which turns the current<br>
workspace to fullscreen or to designate one of my workspaces to be in<br>
fullscreen always (or both).<br>
<br>
I currently have the following key bindings defined:<br>
<br>
    -- toggle the status bar gap<br>
    , ((modMask .|. shiftMask, xK_b     ), sendMessage ToggleStruts)<br>
<br>
    -- Toggle borders<br>
    , ((controlMask .|. shiftMask, xK_b ), withFocused toggleBorder)<br>
<br>
The first makes the status bar disappear, and the other kills the<br>
window border.  Although, this is not a single key stroke, and can&#39;t<br>
be assign to a workspace, it gave me what I needed.  However, I&#39;ve<br>
recently discovered themes, and I&#39;ve added title-bars to my windows<br>
which I love:<br>
<br>
newTheme :: ThemeInfo<br>
newTheme = TI &quot;&quot; &quot;&quot; &quot;&quot; defaultTheme<br>
myTheme :: ThemeInfo<br>
myTheme =<br>
    newTheme { themeName        = &quot;myTheme&quot;<br>
             , themeAuthor      = &quot;Ones Self&quot;<br>
             , themeDescription = &quot;My Theme&quot;<br>
             , theme            = defaultTheme { activeColor         = &quot;#8a999e&quot;<br>
                                               , inactiveColor       = &quot;#545d75&quot;<br>
                                               --, activeBorderColor   = &quot;white&quot;<br>
                                               , activeBorderColor   = &quot;#8a999e&quot;<br>
                                               --, inactiveBorderColor = &quot;grey&quot;<br>
                                               , inactiveBorderColor = &quot;#545d75&quot;<br>
                                               , activeTextColor     = &quot;white&quot;<br>
                                               , inactiveTextColor   = &quot;grey&quot;<br>
                                               , fontName            = &quot;-*-lucidatypewriter-bold-*-*-*-12-*-*-*-*-*-*-*&quot;<br>
                                               , decoHeight          = 12<br>
                                               , decoWidth           = 2000<br>
                                               }<br>
             }<br>
<br>
<br>
This presents a problem to fullscreen mode since the title-bars stay<br>
visible.<br>
<br>
- How can I define a key that will make title-bars disappear?<br>
- Can I combine it with my current &quot;make border disappear&quot; key?<br>
- Can I designate a workspace to always show windows in fullscreen<br>
  (meaning, no status bar gap, no window borders, and no window<br>
  title)?<br>
- Can I define a single key that will toggle fullscreen for a given<br>
  workspace?<br>
<br>
Thanks you very much,<br>
<font color="#888888"><br>
<br>
--<br>
&quot;I know you think you understand what you thought I said but I&#39;m not<br>
sure you realize that what you heard is not what I meant&quot;<br>
                                                  -- Alan Greenspan<br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org">xmonad@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/xmonad" target="_blank">http://www.haskell.org/mailman/listinfo/xmonad</a><br>
</font></blockquote></div><br>