Copyright | (c) 2008 David Roundy <droundy@darcs.net> |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | Adam Vogt <vogt.adam@gmail.com> |
Stability | unstable |
Portability | unportable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
BoringWindows is an extension to allow windows to be marked boring
Synopsis
- boringWindows :: (LayoutClass l a, Eq a) => l a -> ModifiedLayout BoringWindows l a
- boringAuto :: (LayoutClass l a, Eq a) => l a -> ModifiedLayout BoringWindows l a
- markBoring :: X ()
- markBoringEverywhere :: X ()
- clearBoring :: X ()
- focusUp :: X ()
- focusDown :: X ()
- focusMaster :: X ()
- swapUp :: X ()
- swapDown :: X ()
- siftUp :: X ()
- siftDown :: X ()
- data UpdateBoring = UpdateBoring
- data BoringMessage
- data BoringWindows a
Usage
You can use this module with the following in your
~/.xmonad/xmonad.hs
:
import XMonad.Layout.BoringWindows
Then edit your layoutHook
by adding the layout modifier:
myLayout = boringWindows (Full ||| etc..) main = xmonad def { layoutHook = myLayout }
Then to your keybindings, add:
, ((modm, xK_j), focusUp) , ((modm, xK_k), focusDown) , ((modm, xK_m), focusMaster)
For more detailed instructions on editing the layoutHook see:
boringWindows :: (LayoutClass l a, Eq a) => l a -> ModifiedLayout BoringWindows l a Source #
boringAuto :: (LayoutClass l a, Eq a) => l a -> ModifiedLayout BoringWindows l a Source #
Mark windows that are not given rectangles as boring
markBoring :: X () Source #
markBoringEverywhere :: X () Source #
Mark current focused window boring for all layouts.
This is useful in combination with the CopyWindow
module.
clearBoring :: X () Source #
focusMaster :: X () Source #
data UpdateBoring Source #
UpdateBoring is sent before attempting to view another boring window, so that layouts have a chance to mark boring windows.
Instances
Message UpdateBoring Source # | |
Defined in XMonad.Layout.BoringWindows |
data BoringMessage Source #
Instances
Read BoringMessage Source # | |
Defined in XMonad.Layout.BoringWindows readsPrec :: Int -> ReadS BoringMessage # readList :: ReadS [BoringMessage] # | |
Show BoringMessage Source # | |
Defined in XMonad.Layout.BoringWindows showsPrec :: Int -> BoringMessage -> ShowS # show :: BoringMessage -> String # showList :: [BoringMessage] -> ShowS # | |
Message BoringMessage Source # | |
Defined in XMonad.Layout.BoringWindows |
data BoringWindows a Source #
Instances
Tips
variant of Full
An alternative to Full
is XMonad.Layout.Simplest. Less windows are
ignored by focusUp
and focusDown
. This may be helpful when you want windows
to be uninteresting by some other layout modifier (ex.
XMonad.Layout.Minimize)