"Suraj N. Kurapati" <sun...@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