Skip to content

Commit

Permalink
Merge pull request #1 from arksega/master
Browse files Browse the repository at this point in the history
Check kde settings path in install.sh
  • Loading branch information
hayalci committed May 13, 2012
2 parents 4e6b935 + 8a2a40c commit 349f0a1
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions install.sh
@@ -1,14 +1,20 @@
#!/bin/sh
# Check path existence
if [ -d ~/.kde4 ]; then
kde_path=~/.kde4
else
kde_path=~/.kde
fi

# KDE Color Palette
cp ./Solarized_Colors ~/.kde4/share/config/colors/Solarized\ Colors
cp ./Solarized_Colors ${kde_path}/share/config/colors/Solarized\ Colors

# Konsole (yakuake, etc.) color scheme
cp ./"Solarized Dark.colorscheme" ~/.kde4/share/apps/konsole/
cp ./"Solarized Light.colorscheme" ~/.kde4/share/apps/konsole/
cp ./"Solarized Dark.colorscheme" ${kde_path}/share/apps/konsole/
cp ./"Solarized Light.colorscheme" ${kde_path}/share/apps/konsole/

# Kate Color Schema and syntax highligting
cat ./"Solarized Dark.kateschema" >> ~/.kde4/share/config/kateschemarc
cat ./"Solarized Dark.katesyntax" >> ~/.kde4/share/config/katesyntaxhighlightingrc
cat ./"Solarized Light.kateschema" >> ~/.kde4/share/config/kateschemarc
cat ./"Solarized Light.katesyntax" >> ~/.kde4/share/config/katesyntaxhighlightingrc
cat ./"Solarized Dark.kateschema" >> ${kde_path}/share/config/kateschemarc
cat ./"Solarized Dark.katesyntax" >> ${kde_path}/share/config/katesyntaxhighlightingrc
cat ./"Solarized Light.kateschema" >> ${kde_path}/share/config/kateschemarc
cat ./"Solarized Light.katesyntax" >> ${kde_path}/share/config/katesyntaxhighlightingrc

0 comments on commit 349f0a1

Please sign in to comment.