Created
April 18, 2011 14:32
-
-
Save reality/925462 to your computer and use it in GitHub Desktop.
My XMonad config file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XMonad | |
import Data.Monoid | |
import System.Exit | |
import XMonad.Hooks.SetWMName | |
import qualified XMonad.StackSet as W | |
import qualified Data.Map as M | |
myTerminal = "terminator" | |
myFocusFollowsMouse :: Bool | |
myFocusFollowsMouse = True | |
myBorderWidth = 1 | |
myModMask = mod4Mask | |
myNumlockMask = mod2Mask | |
myWorkspaces = ["1","2","3","4","5","6","7","8","9"] | |
myNormalBorderColor = "#dddddd" | |
myFocusedBorderColor = "#ff0000" | |
myEventHook = mempty | |
myLogHook = return () | |
myStartupHook = setWMName "LG3D" | |
main = xmonad defaults | |
defaults = defaultConfig { | |
terminal = myTerminal, | |
focusFollowsMouse = myFocusFollowsMouse, | |
borderWidth = myBorderWidth, | |
modMask = myModMask, | |
numlockMask = myNumlockMask, | |
workspaces = myWorkspaces, | |
normalBorderColor = myNormalBorderColor, | |
focusedBorderColor = myFocusedBorderColor, | |
handleEventHook = myEventHook, | |
logHook = myLogHook, | |
startupHook = myStartupHook | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment