Copyright | Wilson Sales <spoonm@spoonm.org> |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | <spoonm@spoonm.org> |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell98 |
Modifies a layout to set borders to 0 for all windows in the workspace. Unlike XMonad.Layout.NoBorders, this modifier will not restore the window border if the windows are moved to a different workspace or the layout is changed.
This modifier's primary use is to eliminate the "border flash" you get
while switching workspaces with the noBorders
modifier. It won't return
the borders to their original width, however.
Synopsis
- voidBorders :: l Window -> ModifiedLayout VoidBorders l Window
Usage
You can use this module with the following in your ~/.xmonad/xmonad.hs file:
import XMonad.Layout.VoidBorders
and modify the layouts to call voidBorders
on the layouts you want to
remove borders from windows:
layoutHook = ... ||| voidBorders Full ||| ...
For more detailed instructions on editing the layoutHook see:
voidBorders :: l Window -> ModifiedLayout VoidBorders l Window Source #