[xmonad] Re: Issue 126 in xmonad: xmonad doesn't warn when xmonad executable cannot be found

codesite-noreply at google.com codesite-noreply at google.com
Tue Mar 23 23:55:40 EDT 2010


Updates:
	Summary: xmonad doesn't warn when xmonad executable cannot be found
	Status: Accepted
	Labels: Usability

Comment #6 on issue 126 by vogt.adam: xmonad doesn't warn when xmonad  
executable cannot be found
http://code.google.com/p/xmonad/issues/detail?id=126

In #xmonad today, jeffwheeler had some trouble getting his config to  
reload. It seems
like this problem could have been avoided by adding a bit of logic to the  
default config:

Currently M-q is bound to:

    spawn "xmonad --recompile && xmonad --restart"

This could instead be something like:

    spawn $ "which xmonad && { xmonad --recompile && xmonad --restart } || "  
++
            "xmessage xmonad not in \$PATH: \"$PATH\""

But maybe this logic should be implemented in haskell, or is the /bin/sh  
syntax used
here going to work everywhere?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the xmonad mailing list