Last active
August 29, 2015 14:07
-
-
Save vmattos/f321e3d76d89806b3507 to your computer and use it in GitHub Desktop.
My favorite theme
This file contains hidden or 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
#!/bin/sh | |
# | |
# Author: Vitor Mattos <[email protected]> | |
# | |
# Shell script that configures gnome-terminal to use my custom theme | |
# based on X::DotShare. Written for Ubuntu 11.10, tested on Ubuntu 14.04 | |
# | |
# Works for gnome-terminal < 3.8 | |
#BLACK | |
COLOR_1="#303030" | |
COLOR_9="#686868" | |
#RED | |
COLOR_2="#B74242" | |
COLOR_10="#C96565" | |
#GREEN | |
COLOR_3="#6D9E3F" | |
COLOR_11="#A3D572" | |
#YELLOW | |
COLOR_4="#B58858" | |
COLOR_12="#EFBD8B" | |
#BLUE | |
COLOR_5="#6095C5" | |
COLOR_13="#98CBFE" | |
#MAGENTA | |
COLOR_6="#AC7BDE" | |
COLOR_14="#E5B0FF" | |
#CYAN | |
COLOR_7="#5AAC9D" | |
COLOR_15="#69D6D3" | |
#WHITE | |
COLOR_8="#CFCFCF" | |
COLOR_16="#FFFFFF" | |
PALETTE="$COLOR_1:$COLOR_2:$COLOR_3:$COLOR_4:$COLOR_5:$COLOR_6:$COLOR_7:$COLOR_8:$COLOR_9:$COLOR_10:$COLOR_11:$COLOR_12:$COLOR_13:$COLOR_14:$COLOR_15:$COLOR_16" | |
BG_COLOR="#232323" | |
FG_COLOR="#A0A0A0" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_background" --type bool false | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/palette" --type string "$PALETTE" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "$BG_COLOR" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "$FG_COLOR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment