[xmonad] Fullscreen Workspace

Henrique G. Abreu hgabreu at gmail.com
Fri Oct 9 09:37:38 EDT 2009


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

Regards,
Henrique G. Abreu


On Fri, Oct 9, 2009 at 01:17, Ones Self <w1rixgj02 at sneakemail.com> wrote:

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


More information about the xmonad mailing list