On 10/18/13 at 10:49am, Raphaël Proust wrote:
 
> I guess what you want is the pwd of the client that currently has
> focus… I also need something like that for plumb(1)ing purposes

That's probably what I want, yes. Thanks.

> (relative file paths not resolving correctly otherwise). I didn't
> manage to juice that out of xprop/xwininfo, WMNET properties and
> procfs.

Well, the following mouthful does it in fish (mutatis mutandis for other
shells):

    pwdx (xdotool getwindowpid (xdotool getwindowfocus))

Manolo

Reply via email to