[xmonad] Add 'browser' to XConfig

David Roundy droundy at darcs.net
Mon Mar 31 14:12:51 EDT 2008


On Mon, Mar 31, 2008 at 07:51:31PM +0300, Roman Cheplyaka wrote:
> * David Roundy <droundy at darcs.net> [2008-03-31 09:05:33-0700]
> > On Mon, Mar 31, 2008 at 06:21:35PM +0300, Roman Cheplyaka wrote:
> > > * David Roundy <droundy at darcs.net> [2008-03-31 07:58:52-0700]
> > > > If you prefer, we could alternately support XMONAD_BROWSER.  Note that
> > > > putting the browser in the environment would also make it immediately
> > > > runtime-configurable (well, with a few lines of code in contrib).
> > > 
> > > How do you see it?
> > 
> > I'm not sure what you're asking.  You'd just start a terminal and then run
> > echo $BROWSER to see what the value is.
> 
> Sorry, I was in hurry.
> I mean, how do you see runtime configuration of some environment
> variable, like BROWSER? If xmonad is up and running, I see no way to
> change its environment from outside. Even restarting it (mod-q) doesn't
> seem to allow this.

We'd just define a little prompt module, and then do something like

setEnv "BROWSER" "new value" True

This would also solve my problem with connecting a new ssh-agent to xmonad
(and thus to new terminals started by xmonad).

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080331/a6b1cbf6/attachment.bin


More information about the xmonad mailing list