Re: [dwm] how can I start such a urxvt?

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 17 May 2007 17:00:43 +0200

On Thu, May 17, 2007 at 06:28:57PM +0800, wuyue1982 wrote:
> hello, for some reason, I want to start a special urxvt. urxvt starts at
> ~/ by default as you know, but I want to start a urxvt which starts at
> ~/doc/, in fvwm, I can achieve it by edit .fvwm2rc:
> Key F2 A 4 Exec exec $(cd ~/doc && urxvtc)
> So I have try write:
> { MODKEY, XK_F2, spawn, "exec $(cd ~/doc && urxvtc)
> but seems not work.
> Any advises? Thank you, maybe you can understand me, my English is very
> poor as you see ^_^

You could also start dwm in $HOME/doc, then all programs will be
started in this directory as well, if no explicit cd is done by
them or before their invocation.

But a wrapper script might be the cleanest solution.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Thu May 17 2007 - 17:00:43 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:41:52 UTC