3 [ -x ./xowner ] || make
8 if [ $OWNER != "0x0" ];
10 xwininfo -id $OWNER > /dev/null 2>&1;
13 OWNER_NAME=$(xprop -id $OWNER WM_NAME | cut -d ' ' -f 3-)
14 if [ -z "$OWNER_NAME" ];
18 echo -n " owned by $OWNER_NAME"
27 xclip -out -selection primary 2> /dev/null
32 xclip -out -selection secondary 2> /dev/null
37 xclip -out -selection clipboard 2> /dev/null
41 get_owner "CUT_BUFFER0"