Hi - this will I'm sure be a fairly basic question.
I have a keyboard shortcut to launch a urxvt:
terminal = "urxvt"
-- ...
awful.key({ modkey, }, "Return", function ()
awful.util.spawn(terminal) end)
What I'm now looking to do is setup another key binding that, given the
currently active window, a urxvt instance, launches another instance which
uses the same CWD.
Has anyone done this before?
If I can can the PID of the current window that will be enough to then use
pwdx or similar approaches.
Other thoughts/approaches?
Thanks,
Paul