14 lines
236 B
Plaintext
14 lines
236 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
HIDE=$(lswin -o; lswin -r)
|
||
|
for xid in $(lswin -a);
|
||
|
do
|
||
|
if printf "$HIDE" | grep -q $xid; then
|
||
|
continue;
|
||
|
fi
|
||
|
_name=$(wname $xid)
|
||
|
if [ ! -z "$_name" ]; then
|
||
|
echo "$xid | $(wname $xid)"
|
||
|
fi
|
||
|
done
|