Last active
December 20, 2015 10:49
-
-
Save maxdeliso/6118115 to your computer and use it in GitHub Desktop.
simple xmonad config
This file contains hidden or 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
| -- Max DeLiso | |
| -- xmonad config | |
| import XMonad | |
| import XMonad.Hooks.DynamicLog | |
| import qualified Data.Map as M | |
| main = xmonad =<< xmobar defaultConfig { | |
| modMask = mod4Mask | |
| , terminal = "urxvt" | |
| , borderWidth = 3 | |
| , keys = \c -> mykeys c `M.union` keys defaultConfig c | |
| } | |
| where | |
| mykeys (XConfig {modMask = modm}) = M.fromList $ | |
| [ ((modm , xK_x), spawn "xscreensaver-command -lock") ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment