Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from jaredcurtis/gray

Gray
  • Loading branch information...
commit 5057c01af9057a1e81a009c619af4f9d4ca3f839 2 parents 0a1daeb + 893748b
@coolwanglu authored
View
42 README.mkd
@@ -1,12 +1,42 @@
Solarized Colorscheme for Guake
-========================================
+===============================
-Based on https://github.com/sigurdga/gnome-terminal-colors-solarized
+Configure solarized based color themes for guake
-This is a variance with grayscale base colors, and accent colors unchanged
+Included Themes
+===============
-Credits:
+solarized
- - Solarized for Gnome Terminal: by Sigurd Gartmann <sigurdga@sigurdga.no>
- - Solarized color theme: by Ethan Schoonover <es@ethanschoonover.com>
+* Standard solarized theme from http://ethanschoonover.com/solarized
+* Color profiles taken from https://github.com/sigurdga/gnome-terminal-colors-solarized
+
+grey
+
+* This is a variance with grayscale base colors, and accent colors unchanged
+
+Example
+=======
+
+Set the standard dark solarized theme
+
+* ./set_dark solarized
+
+Set the standard light solarized theme
+
+* ./set_light solarized
+
+Set the grey modified solarized dark theme
+
+* ./set_dark grey
+
+Set the grey modified solarized light theme
+
+* ./set_light grey
+
+Credits
+=======
+
+* Solarized for Gnome Terminal: by Sigurd Gartmann <sigurdga@sigurdga.no>
+* Solarized color theme: by Ethan Schoonover <es@ethanschoonover.com>
View
0  colors/base0 → colors/grey/base0
File renamed without changes
View
0  colors/base00 → colors/grey/base00
File renamed without changes
View
0  colors/base01 → colors/grey/base01
File renamed without changes
View
0  colors/base03 → colors/grey/base03
File renamed without changes
View
0  colors/base1 → colors/grey/base1
File renamed without changes
View
0  colors/base3 → colors/grey/base3
File renamed without changes
View
0  colors/palette → colors/grey/palette
File renamed without changes
View
1  colors/solarized/base0
@@ -0,0 +1 @@
+#838394949696
View
1  colors/solarized/base00
@@ -0,0 +1 @@
+#65657b7b8383
View
1  colors/solarized/base01
@@ -0,0 +1 @@
+#58586e6e7575
View
1  colors/solarized/base03
@@ -0,0 +1 @@
+#00002B2B3636
View
1  colors/solarized/base1
@@ -0,0 +1 @@
+#9393a1a1a1a1
View
1  colors/solarized/base3
@@ -0,0 +1 @@
+#fdfdf6f6e3e3
View
1  colors/solarized/palette
@@ -0,0 +1 @@
+#070736364242:#DCDC32322F2F:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3
View
20 set_dark.sh
@@ -1,10 +1,20 @@
#!/usr/bin/env bash
-
+default='solarized'
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
21 set_light.sh
@@ -1,11 +1,20 @@
#!/usr/bin/env bash
-
+default='solarized'
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`
Please sign in to comment.
Something went wrong with that request. Please try again.