diff options
author | Alan Pearce | 2014-07-20 12:07:46 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-20 12:07:46 +0100 |
commit | 5240a37475f4da52740ce4d1286f9acf05adfeb0 (patch) | |
tree | f5f8bf6bed62902c073d93b13060e84a9435e8bb /tag-xmonad/xmonad | |
parent | 40c5e1810ccee06598a7d97ac2d6930c357c95a6 (diff) | |
download | nixfiles-5240a37475f4da52740ce4d1286f9acf05adfeb0.tar.lz nixfiles-5240a37475f4da52740ce4d1286f9acf05adfeb0.tar.zst nixfiles-5240a37475f4da52740ce4d1286f9acf05adfeb0.zip |
Xmonad: Remove borders from fullscreen windows
Diffstat (limited to 'tag-xmonad/xmonad')
-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 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, |