Revert removal of xinitrc and cleanup

This commit is contained in:
Felix Van der Jeugt 2015-04-18 21:28:33 +02:00
parent 69feed4ce9
commit bbace2976d
14 changed files with 52 additions and 69 deletions

View file

@ -37,7 +37,10 @@ myTerminal :: [Char]
myTerminal = "urxvtc"
runInTerminal :: [Char] -> [Char] -> [Char]
runInTerminal e n = myTerminal ++ " -name " ++ n ++ " -e " ++ e ++ " > /dev/null 2>&1"
runInTerminal e n = myTerminal ++ " -name " ++ n ++ " -e " ++ e
logged :: [Char] -> [Char]
logged m = "nohup " ++ m ++ " | logger"
-- Whether focus follows the mouse pointer.
myFocusFollowsMouse :: Bool
@ -119,7 +122,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
[ ((modm .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
-- launch dmenu
, ((0, xK_Scroll_Lock), spawn "PATH=\"/home/felix/.local/bin:$PATH\" dmenu_run")
, ((0, xK_Scroll_Lock), spawn $ logged "dmenu_run")
-- close focused window
, ((modm .|. shiftMask, xK_c ), kill)