Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ################################################################### NOTES ########################################################################
- # #
- # 1. MAKE SURE 'eval "$BASH_POST_RC"' (without single quotes) IS AT THE END OF YOUR .bashrc FILE!!! #
- # 2. xdotool should be installed (sudo apt-get install xdotool). #
- # #
- ##################################################################################################################################################
- ############################################# APPLICATIONS ######################################################
- # Google Chrome #
- # google-chrome & #
- # #
- # Firefox #
- # firefox & #
- # #
- # Sublime Text #
- # subl & #
- #################################################################################################################
- ############################################## TERMINALS ########################################################
- gnome-terminal --working-directory=$HOME --title "Title" --geometry=138x36+155+0 \
- --tab -e 'bash -c "export BASH_POST_RC=\"$HOME/script/update_git_repos.sh;\"; exec bash"' \
- --tab \
- --tab -e 'bash -c "export BASH_POST_RC=\"some command for tab 3;\"; exec bash"' \
- --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