From 40c5e1810ccee06598a7d97ac2d6930c357c95a6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 20 Jul 2014 11:57:00 +0100 Subject: Xmonad: fix fullscreen --- tag-xmonad/xmonad/xmonad.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-xmonad') diff --git a/tag-xmonad/xmonad/xmonad.hs b/tag-xmonad/xmonad/xmonad.hs index 93670ad..ffb6cdd 100644 --- a/tag-xmonad/xmonad/xmonad.hs +++ b/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 @@ import System.IO 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, -- cgit 1.4.1