Re: [dev][dwm] Launching new terminals in $PWD

From: Manolo Martínez <manolo_AT_austrohungaro.com>
Date: Fri, 18 Oct 2013 12:03:27 +0200

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
Received on Fri Oct 18 2013 - 12:03:27 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 18 2013 - 12:12:23 CEST