#!/bin/bash
wmctrl -r ":ACTIVE:" -b remove,maximized_horz
wmctrl -r ":ACTIVE:" -b add,maximized_vert
wmctrl -r ":ACTIVE:" -e 0,0,0,1440,1037