Permalink
Browse files

add a simple installer script

worth automating for how many times I've installed this!
  • Loading branch information...
1 parent 4645fc7 commit 13230af9e5c11c5da4a4f2108e6510f5f7ce1769 @colindean colindean committed Jun 20, 2013
Showing with 23 additions and 4 deletions.
  1. +10 −4 README.md
  2. +13 −0 install.sh
View
@@ -12,13 +12,19 @@ To contribute, file bug reports or issues, please visit the [main Solarized GitH
## Installation
-1. Copy the `*.txt` files from the `Themes` directory to:
+1. Run `install.sh` like so:
- `~/Library/Application\ Support/Mou/Themes`
+ sh install.sh
-2. Copy the `*.css` files from the `CSS` directory to:
+ or
- `~/Library/Application\ Support/Mou/CSS`
+ a. Copy the `*.txt` files from the `Themes` directory to:
+
+ ~/Library/Application\ Support/Mou/Themes
+
+ b. Copy the `*.css` files from the `CSS` directory to:
+
+ ~/Library/Application\ Support/Mou/CSS
3. Open Mou's `Preferences` and navigate to the `Themes` tab. Select one of the Solarized themes in the `Use Theme:` dropdown. If Mou was open when you copied the theme files, you may need to hit the `Reload` button.
View
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+MOU_DIR="${HOME}/Library/Application Support/Mou/"
+CSS_DIR="${MOU_DIR}/CSS/"
+TH_DIR="${MOU_DIR}/Themes/"
+
+if [ -d "$MOU_DIR" ]; then
+ cp Themes/*.txt "$TH_DIR"
+ cp CSS/*.css "$CSS_DIR"
+ echo "Solarized installed!"
+else
+ echo "${MOU_DIR} doesn't exist. Is Mou installed, and has it been started at least once?"
+fi

0 comments on commit 13230af

Please sign in to comment.