Created
April 27, 2011 15:20
-
-
Save monstermunchkin/944447 to your computer and use it in GitHub Desktop.
Open and place 4 terminals
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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