Advertisement
rccharles

create Thunderbird userChrome.css

Jan 11th, 2018
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.76 KB | None | 0 0
  1. #!/bin/bash
  2. runDateTime=$(date '+%Y-%m-%d_%H-%M-%S')
  3. # Hopefully there isn't more than one .default document.
  4. cd /Users/${USER}/Library/Thunderbird/Profiles/
  5. declare -i fileCount
  6. fileCount=$(ls -d *.default | wc -l)
  7. echo "fileCount=${fileCount}"
  8.  
  9. cd *.default
  10. # ensure directory exists
  11. mkdir chrome
  12. cd chrome
  13. pwd
  14. # backup current file if it exists
  15. mv userChrome.css userChrome${runDateTime}.css
  16. cat <<___ >userChrome.css
  17. /*
  18.  * Do not remove the @namespace line -- it's required for correct functioning
  19. */
  20. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
  21.  
  22. /*
  23. * Make all the default font sizes ...pt:
  24. */
  25. * { font-size: 12pt !important; }
  26. ___
  27.  
  28. pwd
  29. ls -l
  30. cat userChrome.css
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement