summaryrefslogtreecommitdiff
path: root/Scripts/installSouceCodePro.sh
diff options
context:
space:
mode:
authorJulian <julianteule@gmail.com>2017-02-08 22:20:47 +0100
committerJulian <julianteule@gmail.com>2017-02-08 22:20:47 +0100
commitecf4878084e1d2fe352e923d4f4f534dcde37869 (patch)
treee84442abf973d47db64f86ae0db84bdb5ae13919 /Scripts/installSouceCodePro.sh
parent4bbbe4724c5260ce6e0e9001aeca7c59236dce3a (diff)
parent82ec37bdf8307b14e31a52d57b74b3471b1367ad (diff)
Removed irritation error from conky, and fixed merge conflicts
Diffstat (limited to 'Scripts/installSouceCodePro.sh')
-rw-r--r--Scripts/installSouceCodePro.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/Scripts/installSouceCodePro.sh b/Scripts/installSouceCodePro.sh
new file mode 100644
index 0000000..c22908f
--- /dev/null
+++ b/Scripts/installSouceCodePro.sh
@@ -0,0 +1,23 @@
+echo "\n* Downloading version $version of source code pro font"
+rm -f SourceCodePro_FontsOnly-$version.zip
+rm -rf SourceCodePro_FontsOnly-$version
+wget https://github.com/downloads/adobe/source-code-pro/SourceCodePro_FontsOnly-$version.zip
+
+echo "\n* Unziping package"
+unzip SourceCodePro_FontsOnly-$version.zip
+mkdir -p ~/.fonts
+
+echo "\n* Copying fonts to ~/fonts"
+cp SourceCodePro_FontsOnly-$version/OTF/*.otf ~/.fonts/
+
+echo "\n* Updating font cache"
+sudo fc-cache -f -v
+
+echo "\n* Looking for 'Source Code Pro' in installed fonts"
+fc-list | grep "Source Code Pro"
+
+echo "\n* Now, you can use the 'Source Code Pro' fonts, ** for sublime text ** just add the lines bellow to 'Preferences > Settings':"
+echo '\n "font_face": "Source Code Pro",'
+echo ' "font_size": 10'
+
+echo "\n* Finished :)\n"