diff options
author | Alan Pearce | 2014-07-20 11:57:00 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-20 11:57:00 +0100 |
commit | 40c5e1810ccee06598a7d97ac2d6930c357c95a6 (patch) | |
tree | 2d2e3e9d5d32cf571105fe58aef14be6a3dc26fe | |
parent | 3449206c06d060ed0f120af28ee8ab20eae52bf4 (diff) | |
download | nixfiles-40c5e1810ccee06598a7d97ac2d6930c357c95a6.tar.lz nixfiles-40c5e1810ccee06598a7d97ac2d6930c357c95a6.tar.zst nixfiles-40c5e1810ccee06598a7d97ac2d6930c357c95a6.zip |
Xmonad: fix fullscreen
-rw-r--r-- | tag-xmonad/xmonad/xmonad.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-xmonad/xmonad/xmonad.hs b/tag-xmonad/xmonad/xmonad.hs index 93670ad5..ffb6cdd1 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, |