Xmonad: fix fullscreen
Alan Pearce alan@alanpearce.co.uk
Sun, 20 Jul 2014 11:57:00 +0100
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M tag-xmonad/xmonad/xmonad.hs → tag-xmonad/xmonad/xmonad.hs
@@ -1,6 +1,7 @@ import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks +import XMonad.Hooks.ManageHelpers import XMonad.Util.Run(spawnPipe) import XMonad.Util.EZConfig(additionalKeys) import System.IO @@ -8,7 +9,7 @@ main = do xmproc <-spawnPipe "/usr/bin/xmobar /home/alan/.xmobarrc" xmonad $ defaultConfig { - manageHook = manageDocks <+> manageHook defaultConfig, + manageHook = manageDocks <+> (isFullscreen --> doFullFloat) <+> manageHook defaultConfig, layoutHook = avoidStruts $ layoutHook defaultConfig, logHook = dynamicLogWithPP xmobarPP { ppOutput = hPutStrLn xmproc,