PMbwmon bandwidth monitor: can specify which interfaces to watch, also supporting...
[hband-tools.git] / xwin-tools / wmpid
blob57e90e9feec6098baeab8c00d51a612ac7da792e
1 #!/bin/bash
3 set -eo pipefail
5 winid=`xprop -root 32x ' $0\n' _NET_SUPPORTING_WM_CHECK | cut -f2 -d' '`
6 xprop -id "$winid" 32i ' $0\n' _NET_WM_PID | cut -f2 -d' '