From 5240a37475f4da52740ce4d1286f9acf05adfeb0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 20 Jul 2014 12:07:46 +0100 Subject: Xmonad: Remove borders from fullscreen windows --- tag-xmonad/xmonad/xmonad.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-xmonad/xmonad') diff --git a/tag-xmonad/xmonad/xmonad.hs b/tag-xmonad/xmonad/xmonad.hs index ffb6cdd1..cb845efd 100644 --- a/tag-xmonad/xmonad/xmonad.hs +++ b/tag-xmonad/xmonad/xmonad.hs @@ -2,6 +2,7 @@ import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageHelpers +import XMonad.Layout.NoBorders import XMonad.Util.Run(spawnPipe) import XMonad.Util.EZConfig(additionalKeys) import System.IO @@ -10,7 +11,7 @@ main = do xmproc <-spawnPipe "/usr/bin/xmobar /home/alan/.xmobarrc" xmonad $ defaultConfig { manageHook = manageDocks <+> (isFullscreen --> doFullFloat) <+> manageHook defaultConfig, - layoutHook = avoidStruts $ layoutHook defaultConfig, + layoutHook = smartBorders . avoidStruts $ layoutHook defaultConfig, logHook = dynamicLogWithPP xmobarPP { ppOutput = hPutStrLn xmproc, ppTitle = xmobarColor "#859900" "" . shorten 200, -- cgit 1.4.1