import XMonad
import XMonad.Util.EZConfig
import XMonad.Hooks.SetWMName
import XMonad.Hooks.EwmhDesktops

main = xmonad $ defaultConfig {
        terminal           = "xfce4-terminal"
      , focusedBorderColor = "#7BCA24"
      , normalBorderColor  = "#4C5248"
      , modMask            = mod4Mask
      , borderWidth        = 1
      , startupHook        = setWMName "LG3D" 
  }
  `additionalKeys`
    [
        ((mod4Mask, xK_p ), spawn "dmenu_run -fn 'Droid Sans Mono-9'")
      , ((mod4Mask, xK_s ), spawn "scrot '%Y-%m-%d_%H.%m.%S_$wx$h.png' -e 'mv $f ~/picture/screenshot/'")
      , ((mod4Mask, xK_F11),  spawn "/usr/bin/shutdown -r now") 
      , ((mod4Mask, xK_F12),  spawn "/usr/bin/shutdown -h now") 
    ]
