On Fri, Oct 18, 2013 at 11:03 AM, Manolo Martínez <man...@austrohungaro.com> wrote: > On 10/18/13 at 10:49am, Raphaël Proust wrote: >> > Well, the following mouthful does it in fish (mutatis mutandis for other > shells): > > pwdx (xdotool getwindowpid (xdotool getwindowfocus))
In urxvt: $ xdotool getwindowpid $(xdotool getwindowfocus) 27392 In st: $ xdotool getwindowpid $(xdotool getwindowfocus) window 39845889 has no pid associated with it. Bummer. I'll look into adding _NET_WM_PID(CARDINAL) support in st(1) whenever I have time to do so. -- ______________ Raphaël Proust