Skip to content

Instantly share code, notes, and snippets.

@monstermunchkin
Created April 27, 2011 15:20
Show Gist options
  • Save monstermunchkin/944447 to your computer and use it in GitHub Desktop.
Save monstermunchkin/944447 to your computer and use it in GitHub Desktop.
Open and place 4 terminals
#!/bin/bash
pos=(0,31 705,31 0,492 705,492)
iter=0
for (( i = 0; i < 3; i++ )); do
Terminal --geometry 85x24
done
sleep 1
for term in $(wmctrl -l | grep Terminal | awk '{print $1}'); do
wmctrl -ir $term -e 0,${pos[$iter]},-1,-1
(( iter++ ))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment