Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. ################################################################### NOTES ########################################################################
  4. # #
  5. # 1. MAKE SURE 'eval "$BASH_POST_RC"' (without single quotes) IS AT THE END OF YOUR .bashrc FILE!!! #
  6. # 2. xdotool should be installed (sudo apt-get install xdotool). #
  7. # #
  8. ##################################################################################################################################################
  9.  
  10. ############################################# APPLICATIONS ######################################################
  11. # Google Chrome #
  12. # google-chrome & #
  13. # #
  14. # Firefox #
  15. # firefox & #
  16. # #
  17. # Sublime Text #
  18. # subl & #
  19. #################################################################################################################
  20.  
  21. ############################################## TERMINALS ########################################################
  22. gnome-terminal --working-directory=$HOME --title "Title" --geometry=138x36+155+0 \
  23. --tab -e 'bash -c "export BASH_POST_RC=\"$HOME/script/update_git_repos.sh;\"; exec bash"' \
  24. --tab \
  25. --tab -e 'bash -c "export BASH_POST_RC=\"some command for tab 3;\"; exec bash"' \
  26. --tab -e 'bash -c "export BASH_POST_RC=\"some command for tab 4; xdotool search --name \\\"Title\\\" windowfocus; xdotool key alt+1;\"; exec bash"' &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement