-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved out into smaller repository, better README
Scripts coming from https://github.com/sigurdga/solarized
- Loading branch information
0 parents
commit 065e254
Showing
11 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,23 @@ | |||
License | |||
======= | |||
|
|||
Copyright (c) 2011 Sigurd Gartmann | |||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy of | |||
this software and associated documentation files (the "Software"), to deal in | |||
the Software without restriction, including without limitation the rights to | |||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |||
of the Software, and to permit persons to whom the Software is furnished to do | |||
so, subject to the following conditions: | |||
|
|||
The above copyright notice and this permission notice shall be included in all | |||
copies or substantial portions of the Software. | |||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |||
SOFTWARE. | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,49 @@ | |||
Solarized Colorscheme for Gnome Terminal | |||
======================================== | |||
|
|||
Scripts for setting the Solarized color set with Gnome Terminal. Scripts by | |||
Sigurd Gartmann <sigurdga@sigurdga.no>, based on colors by Ethan Schoonover | |||
<es@ethanschoonover.com>. | |||
|
|||
Notes about color settings in Gnome Terminal | |||
-------------------------------------------- | |||
|
|||
In Gnome terminal there are built-in color profiles, but these are hardcoded | |||
and we cannot change or add these profiles. These scripts are setting a few | |||
gconf parameters that will set the palette colors, foreground, background and | |||
highlight colors to either a light or dark color scheme. | |||
|
|||
Only the foreground, background and highlight colors are different in the light | |||
and dark color sets, as one of the main ideas behind Ethan Schonoovers work is | |||
to use the same colors in the palette for both. | |||
|
|||
Visit the [Solarized homepage] | |||
------------------------------ | |||
|
|||
See the [Solarized homepage] for theory behind the colors, screenshots, details | |||
and colorscheme versions for Vim, Mutt, popular terminal emulators and other | |||
applications. | |||
|
|||
For the original works of Ethan Schoonover, visit the [Solarized repository]. | |||
The colors for Gnome Terminal is maintained in [Gnome Terminal Colors Solarized | |||
repository]. | |||
|
|||
Installation | |||
------------ | |||
|
|||
Clone the [git repository], then run one of the scripts: set_light.sh or | |||
set_dark.sh. | |||
|
|||
$ git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git | |||
$ cd gnome-terminal-colors-solarized | |||
$ ./set_light.sh | |||
$ ./set_dark.sh | |||
|
|||
See the [Solarized homepage] for screenshots which will help you | |||
select either the light or dark background. | |||
|
|||
|
|||
[Solarized homepage]: http://ethanschoonover.com/solarized | |||
[Solarized repository]: https://github.com/altercation/solarized | |||
[Gnome Terminal Colors Solarized repository]: https://github.com/sigurdga/gnome-terminal-colors-solarized | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
#838394949696 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
#65657b7b8383 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
#58586e6e7575 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
#00002B2B3636 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
#9393a1a1a1a1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
#fdfdf6f6e3e3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
#070736364242:#DCDC32322F2F:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
#!/usr/bin/env bash | |||
|
|||
dir=`dirname $0` | |||
|
|||
PROFILE=${1:-Default} | |||
|
|||
# set palette | |||
gconftool-2 -s -t string /apps/gnome-terminal/profiles/$PROFILE/palette `cat $dir/colors/palette` | |||
|
|||
# set highlighted color to be different from foreground-color | |||
gconftool-2 -s -t bool /apps/gnome-terminal/profiles/$PROFILE/bold_color_same_as_fg false | |||
|
|||
# set foreground to base0 and background to base03 and highlight color to base1 | |||
gconftool-2 -s -t string /apps/gnome-terminal/profiles/$PROFILE/background_color `cat $dir/colors/base03` | |||
gconftool-2 -s -t string /apps/gnome-terminal/profiles/$PROFILE/foreground_color `cat $dir/colors/base0` | |||
gconftool-2 -s -t string /apps/gnome-terminal/profiles/$PROFILE/bold_color `cat $dir/colors/base1` | |||
|
|||
# make sure the profile is set to not use theme colors | |||
gconftool-2 -s -t bool /apps/gnome-terminal/profiles/$PROFILE/use_theme_colors false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,20 @@ | |||
#!/usr/bin/env bash | |||
|
|||
dir=`dirname $0` | |||
|
|||
PROFILE=${1:-Default} | |||
|
|||
# set palette | |||
gconftool-2 -s -t string /apps/gnome-terminal/profiles/$PROFILE/palette `cat $dir/colors/palette` | |||
|
|||
# set highlighted color to be different from foreground-color | |||
gconftool-2 -s -t bool /apps/gnome-terminal/profiles/$PROFILE/bold_color_same_as_fg false | |||
|
|||
# set foreground to base00 and background to base3 and highlight color to | |||
# base01 | |||
gconftool-2 -s -t string /apps/gnome-terminal/profiles/$PROFILE/background_color `cat $dir/colors/base3` | |||
gconftool-2 -s -t string /apps/gnome-terminal/profiles/$PROFILE/foreground_color `cat $dir/colors/base00` | |||
gconftool-2 -s -t string /apps/gnome-terminal/profiles/$PROFILE/bold_color `cat $dir/colors/base01` | |||
|
|||
# make sure the profile is set to not use theme colors | |||
gconftool-2 -s -t bool /apps/gnome-terminal/profiles/$PROFILE/use_theme_colors false |