Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import qualified XMonad.StackSet as W
- import XMonad.Hooks.ManageHelpers
- import XMonad.Layout.NoBorders
- main = xmonad defaultConfig {
- -- skipped
- , layoutHook = smartBorders (yourExistingLayoutHook) -- Don't put borders on fullFloatWindows
- , manageHook = myManageHooks
- }
- myManageHooks = composeAll
- -- Allows focusing other monitors without killing the fullscreen
- -- [ isFullscreen --> (doF W.focusDown <+> doFullFloat)
- -- Single monitor setups, or if the previous hook doesn't work
- [ isFullscreen --> doFullFloat
- -- skipped
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement