add mutt-multi-account-setup
[dotfiles.git] / shell / .local / bin / tmuxmail
index a0ff713..50d4ad0 100755 (executable)
@@ -1,9 +1,10 @@
 #!/bin/sh
 tmux -f ~/.config/tmux/config\
-       new-session -s mail -d 'update && offlineimap' \;\
-       new-window 'mutt'                              \;\
-       new-window 'ssh ygdrassil'                     \;\
-       new-session -s work                            \;\
-       attach-session -t mail                         \;\
+       new-session -s mail -d 'offlineimap -a net' \;\
+       split-window -h 'offlineimap -a ru'         \;\
+       split-window -v 'update'                    \;\
+       new-window 'mutt'                           \;\
+       new-session -s work                         \;\
+       attach-session -t mail                      \;\
        select-window -t:1
 exec tmux attach