dotfiles/.bin/OLD/winlist

14 lines
236 B
Plaintext
Raw Normal View History

#!/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