add mutt-multi-account-setup
[dotfiles.git] / shell / .local / bin / tmuxmail
1 #!/bin/sh
2 tmux -f ~/.config/tmux/config\
3 new-session -s mail -d 'offlineimap -a net' \;\
4 split-window -h 'offlineimap -a ru' \;\
5 split-window -v 'update' \;\
6 new-window 'mutt' \;\
7 new-session -s work \;\
8 attach-session -t mail \;\
9 select-window -t:1
10 exec tmux attach