I do like this to toggle a ws to full<br>...<br>, layoutHook = avoidStruts $ toggleLayouts Full $ myLayout<br>} `additionalKeysP`<br>[ ("M-f", sendMessage ToggleStruts >> 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"><<a href="mailto:w1rixgj02@sneakemail.com">w1rixgj02@sneakemail.com</a>></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'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'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't<br>
be assign to a workspace, it gave me what I needed. However, I've<br>
recently discovered themes, and I've added title-bars to my windows<br>
which I love:<br>
<br>
newTheme :: ThemeInfo<br>
newTheme = TI "" "" "" defaultTheme<br>
myTheme :: ThemeInfo<br>
myTheme =<br>
newTheme { themeName = "myTheme"<br>
, themeAuthor = "Ones Self"<br>
, themeDescription = "My Theme"<br>
, theme = defaultTheme { activeColor = "#8a999e"<br>
, inactiveColor = "#545d75"<br>
--, activeBorderColor = "white"<br>
, activeBorderColor = "#8a999e"<br>
--, inactiveBorderColor = "grey"<br>
, inactiveBorderColor = "#545d75"<br>
, activeTextColor = "white"<br>
, inactiveTextColor = "grey"<br>
, fontName = "-*-lucidatypewriter-bold-*-*-*-12-*-*-*-*-*-*-*"<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 "make border disappear" 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>
"I know you think you understand what you thought I said but I'm not<br>
sure you realize that what you heard is not what I meant"<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>