Re: [dev] [dwm] [PATCH] spawn_cwd - spawn from current client's cwd

From: Troels Henriksen <athas_AT_sigkill.dk>
Date: Fri, 25 Nov 2011 10:14:05 +0100

Kurt Van Dijck <kurt.van.dijck_AT_eia.be> writes:

> On Fri, Nov 25, 2011 at 09:54:44AM +0100, Troels Henriksen wrote:
>> "Suraj N. Kurapati" <sunaku_AT_gmail.com> writes:
>>
>> > On Thu 24 Nov 2011 05:12:17 PM PST, Stephen Paul Weber wrote:
>> >> Somebody signing messages as Suraj N. Kurapati wrote:
>> >> >the ability to open new programs in the currently focused client's
>> >> >workdir. https://github.com/sunaku/.dwm/compare/tip...spawn_cwd
>> >>
>> >> Does this patch just work on xterm/rxvt windows that happen to have
>> >> their CWD path in the title?
>> >
>> > Not just; it works for *any* window that has a file path in its title.
>>
>> Alternative/additional idea: look for the process indicated by the
>> _NET_WM_PID property, then use the working directory of that process.
>
> I don't understand the feature.
> I appears to assume that all clients run on the same host?

Yes, which is not guaranteed, but often the case.

-- 
\  Troels
/\ Henriksen
Received on Fri Nov 25 2011 - 10:14:05 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 25 2011 - 10:24:03 CET