Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- runDateTime=$(date '+%Y-%m-%d_%H-%M-%S')
- # Hopefully there isn't more than one .default document.
- cd /Users/${USER}/Library/Thunderbird/Profiles/
- declare -i fileCount
- fileCount=$(ls -d *.default | wc -l)
- echo "fileCount=${fileCount}"
- cd *.default
- # ensure directory exists
- mkdir chrome
- cd chrome
- pwd
- # backup current file if it exists
- mv userChrome.css userChrome${runDateTime}.css
- cat <<___ >userChrome.css
- /*
- * Do not remove the @namespace line -- it's required for correct functioning
- */
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
- /*
- * Make all the default font sizes ...pt:
- */
- * { font-size: 12pt !important; }
- ___
- pwd
- ls -l
- cat userChrome.css
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement