This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Scripts run on startup to customize my Xubuntu environment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # First argument: the ID of the Github Gist to clone from | |
| GIST_ID=${1} | |
| # Clone the gist in our bin directory | |
| cd ~/bin | |
| git clone git@gist.github.com:/${GIST_ID}.git | |
| # symlink all scripts for global execution |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # optional first argument is the directory to place the configuration files | |
| VIMDIR=${1:-".vim"} | |
| # clone vimfiles repository in home directory | |
| cd ~/ | |
| git clone git@github.com:Natman64/vimfiles.git | |
| mv vimfiles ${VIMDIR} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # First argument: delay between time lapse screenshots (in seconds). Default=3 | |
| DELAY=${1:-"3"} | |
| echo "Press Ctrl+C to stop capturing time lapse screenshots." | |
| while [ 1 ]; do | |
| scrot -q 100 "$(date +%Y%m%d%H%M%S).jpg" | |
| sleep $DELAY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CapsLock::ESC |
NewerOlder