I cloned dmenu from git and applied the "center" patch which add the switch "-c" to put dmenu in the centre of the screen....