add mutt-multi-account-setup
[dotfiles.git] / shell / .local / bin / tmuxmail
index 5c7f75a..50d4ad0 100755 (executable)
@@ -1,7 +1,10 @@
 #!/bin/sh
 tmux -f ~/.config/tmux/config\
-       new-session -s mail -d 'update && offlineimap' \;\
-       new-window 'mutt'                              \;\
-       new-window 'ssh helheim'                       \;\
-       new-window 'newsboat -r'
+       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