Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Gray #1

Merged
merged 4 commits into from

2 participants

@jaredcurtis

I've updated the scripts to support themes in the colors directory. I've also imported the default solarized profile from https://github.com/sigurdga/gnome-terminal-colors-solarized into the colors directory.

Jared Curtis added some commits
Jared Curtis 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
902015f
Jared Curtis updates to README.mkd 69063f5
Jared Curtis typos f5dfce0
Jared Curtis Spelling failure; solorized should be solarized. 893748b
@coolwanglu coolwanglu merged commit 5057c01 into coolwanglu:gray
@coolwanglu
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 5, 2012
  1. Added solorized color profiles from https://github.com/sigurdga/gnome…

    Jared Curtis authored
    …-terminal-colors-solarized
    
    Moved exiting color profile to 'grey'
    Updated scripts to support themes
    Example: ./set_dark.sh grey
  2. updates to README.mkd

    Jared Curtis authored
  3. typos

    Jared Curtis authored
  4. Spelling failure; solorized should be solarized.

    Jared Curtis authored
This page is out of date. Refresh to see the latest.
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`
Something went wrong with that request. Please try again.