diff options
author | Adam Vogt <vogt.adam@gmail.com> | 2010-03-30 02:33:10 +0200 |
---|---|---|
committer | Adam Vogt <vogt.adam@gmail.com> | 2010-03-30 02:33:10 +0200 |
commit | 1d015a3b1b1263c83d1f13fba2ac59d03d2c4fcd (patch) | |
tree | 572e4dfd3a37d7e428cb0109c8edf67b243d4cf6 /XMonad | |
parent | 332ff48dae295d66f1d9abfc03e42c9f51bb58fa (diff) | |
download | xmonad-1d015a3b1b1263c83d1f13fba2ac59d03d2c4fcd.tar.gz xmonad-1d015a3b1b1263c83d1f13fba2ac59d03d2c4fcd.tar.xz xmonad-1d015a3b1b1263c83d1f13fba2ac59d03d2c4fcd.zip |
Warn with xmessage when xmonad cannot be found for recompile (issue 126)
Ignore-this: f77e1ba4fdb2c15635be379d6e5f58e9
darcs-hash:20100330003310-1499c-c2b0bdd897e6f87630b4c025544745acd157fcd3.gz
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Config.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Config.hs b/XMonad/Config.hs index 34580e0..c089910 100644 --- a/XMonad/Config.hs +++ b/XMonad/Config.hs @@ -202,7 +202,7 @@ keys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $ -- quit, or restart , ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess)) -- %! Quit xmonad - , ((modMask , xK_q ), spawn "xmonad --recompile && xmonad --restart") -- %! Restart xmonad + , ((modMask , xK_q ), spawn "which xmonad && { xmonad --recompile && xmonad --restart;} || xmessage xmonad not in \\$PATH: \"$PATH\"") -- %! Restart xmonad ] ++ -- mod-[1..9] %! Switch to workspace N |