Permalink
Browse files

Added solorized color profiles from https://github.com/sigurdga/gnome…

…-terminal-colors-solarized

Moved exiting color profile to 'grey'
Updated scripts to support themes
Example: ./set_dark.sh grey
  • Loading branch information...
1 parent 0a1daeb commit 902015fc19df1f6f71bf3acd0caf65d8a77f56f5 Jared Curtis committed Feb 5, 2012
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1 @@
+#838394949696
View
@@ -0,0 +1 @@
+#65657b7b8383
View
@@ -0,0 +1 @@
+#58586e6e7575
View
@@ -0,0 +1 @@
+#00002B2B3636
View
@@ -0,0 +1 @@
+#9393a1a1a1a1
View
@@ -0,0 +1 @@
+#fdfdf6f6e3e3
View
@@ -0,0 +1 @@
+#070736364242:#DCDC32322F2F:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3
View
@@ -1,10 +1,20 @@
#!/usr/bin/env bash
-
+default='solorized'
dir=`dirname $0`
-PROFILE=${1:-Default}
+if [ -d $dir/colors/$1 ]; then
+ theme=$1
+else
+ echo "Theme $1 not found, using $default"
+ theme=$default
+fi
-gconftool-2 -s -t string /apps/guake/style/background/color `cat $dir/colors/base03`
-gconftool-2 -s -t string /apps/guake/style/font/color `cat $dir/colors/base0`
-gconftool-2 -s -t string /apps/guake/style/font/palette `cat $dir/colors/palette`
+if [ "$#" -ne 1 ]; then
+ theme=$default
+fi
+
+PROFILE=${1:-Default}
+gconftool-2 -s -t string /apps/guake/style/background/color `cat $dir/colors/$theme/base03`
+gconftool-2 -s -t string /apps/guake/style/font/color `cat $dir/colors/$theme/base0`
+gconftool-2 -s -t string /apps/guake/style/font/palette `cat $dir/colors/$theme/palette`
View
@@ -1,11 +1,20 @@
#!/usr/bin/env bash
-
+default='solorized'
dir=`dirname $0`
+if [ -d $dir/colors/$1 ]; then
+ theme=$1
+else
+ echo "Theme $1 not found, using $default"
+ theme=$default
+fi
+
+if [ "$#" -ne 1 ]; then
+ theme=$default
+fi
+
PROFILE=${1:-Default}
-#######
-# for guake
-gconftool-2 -s -t string /apps/guake/style/background/color `cat $dir/colors/base3`
-gconftool-2 -s -t string /apps/guake/style/font/color `cat $dir/colors/base00`
-gconftool-2 -s -t string /apps/guake/style/font/palette `cat $dir/colors/palette`
+gconftool-2 -s -t string /apps/guake/style/background/color `cat $dir/colors/$theme/base3`
+gconftool-2 -s -t string /apps/guake/style/font/color `cat $dir/colors/$theme/base00`
+gconftool-2 -s -t string /apps/guake/style/font/palette `cat $dir/colors/$theme/palette`

0 comments on commit 902015f

Please sign in to comment.