repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tempfile is deprecated
[hband-tools.git]
/
xwin-tools
/
wmpid
blob
57e90e9feec6098baeab8c00d51a612ac7da792e
1
#!/bin/bash
2
3
set -eo
pipefail
4
5
winid
=
`xprop -root 32x '
$0
\n
' _NET_SUPPORTING_WM_CHECK | cut -f2 -d' '`
6
xprop
-id
"
$winid
"
32
i
'
$0
\n
'
_NET_WM_PID | cut
-f2 -d
' '