Skip to content

Instantly share code, notes, and snippets.

@t9md
Created November 13, 2010 02:23
Show Gist options
  • Save t9md/675026 to your computer and use it in GitHub Desktop.
Save t9md/675026 to your computer and use it in GitHub Desktop.
iTerminitor sample config
window :name => "win1 tab1", :win_bounds => {:side => 0, :top => 0, :width => 500, :height => 500 } do
run "echo 'win1 tab1'"
tab :name => "tab2", :session => "Default Session" do
# run_file でファイルからコマンドリストを読み込む事も可能。
run_file "~/.iterminitor/run_file_example"
run 'echo tab2'
end
# You can specify bookmarked session name for ':session' option
# ex) tab :name => "tab3", :session => "Bookmarked Session1" do
tab :name => "tab3", :session => "Default Session" do
run "echo 'tab3'"
end
end
window :name => "win2 tab1", :win_bounds => {:side => 500, :top => 0, :width => 500, :height => 500 } do
run "echo 'win2 tab1'"
tab :name => "tab2", :session => "Default Session" do
run "echo 'tab2'"
end
tab :name => "tab3", :session => "Default Session" do
run "echo 'tab3'"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment