summary refs log tree commit diff stats
path: root/tag-xmonad/xmonad
diff options
context:
space:
mode:
authorAlan Pearce2014-07-20 11:57:00 +0100
committerAlan Pearce2014-07-20 11:57:00 +0100
commit40c5e1810ccee06598a7d97ac2d6930c357c95a6 (patch)
tree2d2e3e9d5d32cf571105fe58aef14be6a3dc26fe /tag-xmonad/xmonad
parent3449206c06d060ed0f120af28ee8ab20eae52bf4 (diff)
downloadnixfiles-40c5e1810ccee06598a7d97ac2d6930c357c95a6.tar.lz
nixfiles-40c5e1810ccee06598a7d97ac2d6930c357c95a6.tar.zst
nixfiles-40c5e1810ccee06598a7d97ac2d6930c357c95a6.zip
Xmonad: fix fullscreen
Diffstat (limited to 'tag-xmonad/xmonad')
-rw-r--r--tag-xmonad/xmonad/xmonad.hs3
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,