Closed windwp closed 4 years ago
Not with the ipc. But you can try to read _NET_WM_PID
property of the window with an X11 library. Check out the xprop
command.
Yeah i know that xprop command but It will make my script slow
Check out the python-xlib library.
Is there anyway to get pid in i3 not sway?