Skip to content

Commit

Permalink
Merge pull request #1 from jaredcurtis/gray
Browse files Browse the repository at this point in the history
Gray
  • Loading branch information
coolwanglu committed Feb 6, 2012
2 parents 0a1daeb + 893748b commit 5057c01
Show file tree
Hide file tree
Showing 17 changed files with 73 additions and 17 deletions.
42 changes: 36 additions & 6 deletions 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>

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.
1 change: 1 addition & 0 deletions colors/solarized/base0
@@ -0,0 +1 @@
#838394949696
1 change: 1 addition & 0 deletions colors/solarized/base00
@@ -0,0 +1 @@
#65657b7b8383
1 change: 1 addition & 0 deletions colors/solarized/base01
@@ -0,0 +1 @@
#58586e6e7575
1 change: 1 addition & 0 deletions colors/solarized/base03
@@ -0,0 +1 @@
#00002B2B3636
1 change: 1 addition & 0 deletions colors/solarized/base1
@@ -0,0 +1 @@
#9393a1a1a1a1
1 change: 1 addition & 0 deletions colors/solarized/base3
@@ -0,0 +1 @@
#fdfdf6f6e3e3
1 change: 1 addition & 0 deletions colors/solarized/palette
@@ -0,0 +1 @@
#070736364242:#DCDC32322F2F:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3
20 changes: 15 additions & 5 deletions 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`
21 changes: 15 additions & 6 deletions 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`

0 comments on commit 5057c01

Please sign in to comment.