Skip to content

Instantly share code, notes, and snippets.

@rileyrg
Created October 21, 2014 15:09
Show Gist options
  • Save rileyrg/a16af82b58113ef9c562 to your computer and use it in GitHub Desktop.
Save rileyrg/a16af82b58113ef9c562 to your computer and use it in GitHub Desktop.
myConfig p = def {
manageHook = myManageHook <+> namedScratchpadManageHook scratchpads <+> manageDocks
,logHook = fadeWindowsLogHook myFadeHook <+> dynamicLogWithPP xmobarPP {
ppOutput = hPutStrLn p
} <+> ewmhDesktopsLogHook
,handleEventHook = fadeWindowsEventHook
,layoutHook = myLayout
,startupHook = myStartUpHook
,workspaces= myWorkSpaces
,modMask = mod4Mask
,focusFollowsMouse = False
,terminal = myTerminal
}
main :: IO ()
main = do
xm <- spawnPipe "xmobar"
xmonad $ myConfig xm
`additionalKeysP` myKeys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment