14 lines
236 B
Bash
Executable File
14 lines
236 B
Bash
Executable File
#!/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
|