#!/bin/bash
#
## Arg 1 - Pid of window to move.
## Arg 2 - X-Coord.
## Arg 3 - Y-Coord. 
#
function move_win() { 
 xdotool windowmove $(wmctrl -lp | grep ${1} | cut -d' ' -f1) ${2} ${3}
} 
#
#E.g. $> move_win $(pidof zenity) 0 0 

move_win $(pidof zenity) 0 0 