Skip to content

Instantly share code, notes, and snippets.

@flashvoid
Last active August 29, 2015 14:26
Show Gist options
  • Save flashvoid/df41829da31162757938 to your computer and use it in GitHub Desktop.
Save flashvoid/df41829da31162757938 to your computer and use it in GitHub Desktop.
align windows from command line
SIZE=400; STEP=100; for i in `wmctrl -l | awk '/VLC/ { print $1 }'`; do wmctrl -ir $i -e 100,$STEP,100,$SIZE,$SIZE; STEP=$(( $STEP + $SIZE )); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment