#!/bin/sh
################################################################################
# File : $HOME/.bin/tmuxrc
# Description : Automatic start tmux with panes, files, programs
# Author : MrTux <mrtux@ubuntu-vn.org>
# Homepage : http://my.opera.com/mrtux-hdb
# Last Modified : Sun 28 Nov 2010 03:56:41 AM ICT
################################################################################
tmux start-server
tmux new-session -d -s GENTOO -n 'IRC' 'irssi'
tmux split-window -h -t GENTOO:1 'sudo -i'
tmux split-window -v -t GENTOO:1 'mc'
tmux select-pane -L
tmux split-window -v
tmux new-window -t GENTOO:2 -n 'music' 'ncmpcpp'
tmux new-window -t GENTOO:3 -n 'rtorrent' 'rtorrent'
tmux new-window -t GENTOO:4 -n 'vim' 'vim ~/.vim/doc/tutor'
tmux split-window -h -t GENTOO:4
tmux new-window -t GENTOO:5
tmux new-window -t GENTOO:6
tmux new-window -t GENTOO:7
tmux new-window -t GENTOO:8
tmux new-window -t GENTOO:9
tmux select-window -t GENTOO:1
tmux -2 attach-session -t GENTOO