I'd prefer if centering were a seperate function to resizing to a fraction of the screen size, as I'd like to be able to center a window *after* resizing it to my liking.
x11/xdotool could be used by anybody needing the resizing functionality, for example, bind-key 4-r "xdotool getactivewindow windowsize 50% 50%" The fraction of the screen taken up would then be configurable, without having to add another option. Cheers, Joe