Last active
August 29, 2015 14:13
-
-
Save robstewart57/409abeb2baf10df44771 to your computer and use it in GitHub Desktop.
My xmonad configuration
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 XMonad.Hooks.SetWMName | |
import XMonad.Actions.SpawnOn | |
{- workspace 1: a terminal | |
workspace 2: emacs | |
workspace 3: web browser -} | |
main :: IO () | |
main = xmonad defaultConfig | |
{ modMask = mod4Mask | |
, terminal = "gnome-terminal" | |
, logHook = setWMName "LG3D" | |
, manageHook = manageSpawn <+> manageHook defaultConfig | |
, startupHook = do | |
spawn "xrandr --output VGA1 --mode 1280x1024 --left-of DP1" | |
spawn "xset r rate 200 30" | |
spawn "setxkbmap gb" | |
spawn "xloadimage -onroot -fullscreen ~/Pictures/wallpaper/cats.jpg" | |
spawnOn "1" "gnome-terminal" | |
spawnOn "2" "emacs" | |
spawnOn "3" "google-chrome" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment