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

From: Troels Henriksen <athas_AT_sigkill.dk>
Date: Fri, 25 Nov 2011 09:54:44 +0100

"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.

-- 
\  Troels
/\ Henriksen
Received on Fri Nov 25 2011 - 09:54:44 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 25 2011 - 10:00:08 CET