tmuxSIC 807 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/bash
  2. ###this is going to split the pane into four
  3. ###even horizontal panes
  4. tmux split-window -v
  5. sleep 1
  6. tmux send-keys -t 0 "clear" C-m
  7. tmux select-pane -t 0
  8. ###this will split each of the four panes
  9. ###vertically, resulting in eight seperate
  10. ###panes
  11. for i in 1
  12. do
  13. tmux select-pane -t $i
  14. tmux split-window -h
  15. sleep 1
  16. done
  17. for h in 0
  18. do
  19. tmux select-pane -t $h
  20. tmux split-window -h
  21. sleep 1
  22. done
  23. #this goes to each pane and sends a command, in this case - just identifies the pane.
  24. tmux select-pane -t 0
  25. tmux send-keys -t 0 "mutt" C-m
  26. tmux select-pane -t 1
  27. tmux send-keys -t 1 "sic -h irc.swiftirc.net -n Acou_Bass -k supersecretpassword" C-m
  28. tmux select-pane -t 2
  29. tmux send-keys -t 2 "newsbeuter" C-m
  30. tmux select-pane -t 3
  31. tmux send-keys -t 3 "sic -h localhost -k supersecretpassword" C-m