サイズ変更だけなら https://mehlau.net/resizewindow/ が簡単そうだけど