diff --git a/_apply-colors.sh b/_apply-colors.sh index 01de773..547709a 100644 --- a/_apply-colors.sh +++ b/_apply-colors.sh @@ -22,6 +22,7 @@ if [ $(lsb_release -c -s) == "freya" ]; then # | =========================================== gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" + gsettings set org.pantheon.terminal.settings cursor-color "${CURSOR_COLOR}" gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" else diff --git a/aci.sh b/aci.sh index cade05b..0cb4cfb 100755 --- a/aci.sh +++ b/aci.sh @@ -21,63 +21,10 @@ COLOR_16="#c2c2c2" # BACKGROUND_COLOR="#0d1926" # Background Color FOREGROUND_COLOR="#b4e1fd" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/aco.sh b/aco.sh index 78ea030..d95a506 100755 --- a/aco.sh +++ b/aco.sh @@ -24,60 +24,6 @@ FOREGROUND_COLOR="#b4e1fd" # Text # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/azu.sh b/azu.sh index 429dd55..017535d 100755 --- a/azu.sh +++ b/azu.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#09111a" # Background Color FOREGROUND_COLOR="#d9e6f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/base.sh b/base.sh index 8f0fc5e..de6164c 100755 --- a/base.sh +++ b/base.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#2F373B" # Background Color FOREGROUND_COLOR="#d9e6f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/bim.sh b/bim.sh index 8a883ee..ac03136 100755 --- a/bim.sh +++ b/bim.sh @@ -21,63 +21,10 @@ COLOR_16="#f5eeec" # BACKGROUND_COLOR="#012849" # Background Color FOREGROUND_COLOR="#a9bed8" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/cai.sh b/cai.sh index f0706aa..719ba48 100755 --- a/cai.sh +++ b/cai.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#09111a" # Background Color FOREGROUND_COLOR="#d9e6f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/chalk.sh b/chalk.sh index 0cfaab0..812ee0c 100755 --- a/chalk.sh +++ b/chalk.sh @@ -21,63 +21,10 @@ COLOR_16="#D4D4D4" # BACKGROUND_COLOR="#2D2D2D" # Background Color FOREGROUND_COLOR="#D4D4D4" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/dracula.sh b/dracula.sh index 5c7de0f..6f1bb80 100755 --- a/dracula.sh +++ b/dracula.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#282a36" # Background Color FOREGROUND_COLOR="#94A3A5" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/elementary.sh b/elementary.sh index b2ec043..b7cde6c 100755 --- a/elementary.sh +++ b/elementary.sh @@ -21,63 +21,10 @@ COLOR_16="#a020f0" # BACKGROUND_COLOR="#101010" # Background Color FOREGROUND_COLOR="#f2f2f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/elic.sh b/elic.sh index 50bad13..29159e3 100755 --- a/elic.sh +++ b/elic.sh @@ -21,63 +21,10 @@ COLOR_16="#a020f0" # BACKGROUND_COLOR="#4A453E" # Background Color FOREGROUND_COLOR="#f2f2f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/elio.sh b/elio.sh index 0255796..ab1bdf0 100755 --- a/elio.sh +++ b/elio.sh @@ -21,63 +21,10 @@ COLOR_16="#a020f0" # BACKGROUND_COLOR="#041A3B" # Background Color FOREGROUND_COLOR="#f2f2f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/flat.sh b/flat.sh index d9dd034..134d6f9 100755 --- a/flat.sh +++ b/flat.sh @@ -21,63 +21,10 @@ COLOR_16="#ecf0f1" # BACKGROUND_COLOR="#1F2D3A" # Background Color FOREGROUND_COLOR="#1abc9c" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/freya.sh b/freya.sh index 66d4518..cd156b5 100755 --- a/freya.sh +++ b/freya.sh @@ -2,82 +2,29 @@ # ==================== CONFIG THIS ========================================= # COLOR_01="#073642" # HOST -COLOR_02="#DC322F" # SYNTAX_STRING +COLOR_02="#dc322f" # SYNTAX_STRING COLOR_03="#859900" # COMMAND -COLOR_04="#B58900" # COMMAND_COLOR2 -COLOR_05="#268BD2" # PATH -COLOR_06="#EC0048" # SYNTAX_VAR -COLOR_07="#2AA198" # PROMP -COLOR_08="#94A3A5" +COLOR_04="#b58900" # COMMAND_COLOR2 +COLOR_05="#268bd2" # PATH +COLOR_06="#ec0048" # SYNTAX_VAR +COLOR_07="#2aa198" # PROMP +COLOR_08="#94a3a5" -COLOR_09="#586E75" -COLOR_10="#CB4B16" # COMMAND_ERROR +COLOR_09="#586e75" +COLOR_10="#cb4b16" # COMMAND_ERROR COLOR_11="#859900" # EXEC -COLOR_12="#B58900" -COLOR_13="#268BD2" # FOLDER -COLOR_14="#D33682" -COLOR_15="#2AA198" -COLOR_16="#EEEEEE" +COLOR_12="#b58900" +COLOR_13="#268bd2" # FOLDER +COLOR_14="#d33682" +COLOR_15="#2aa198" +COLOR_16="#6c71c4" -BACKGROUND_COLOR="#2D363A" # Background Color -FOREGROUND_COLOR="#94A3A5" # Text +BACKGROUND_COLOR="#252e32" # Background Color +FOREGROUND_COLOR="#94a3a5" # Text +CURSOR_COLOR="#839496" # Cursor # ===================== END CONFIG ======================================= # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/hybrid.sh b/hybrid.sh index 1b22b47..d0a72e3 100755 --- a/hybrid.sh +++ b/hybrid.sh @@ -21,63 +21,10 @@ COLOR_16="#c5c8c6" # BACKGROUND_COLOR="#141414" # Background Color FOREGROUND_COLOR="#94a3a5" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/jup.sh b/jup.sh index 392028a..1893fda 100755 --- a/jup.sh +++ b/jup.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#758480" # Background Color FOREGROUND_COLOR="#23476a" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # ===================== END CONFIG ======================================= # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/mar.sh b/mar.sh index 68b9269..46da4ff 100755 --- a/mar.sh +++ b/mar.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#ffffff" # Background Color FOREGROUND_COLOR="#23476a" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/miu.sh b/miu.sh index 72e8c46..8819572 100755 --- a/miu.sh +++ b/miu.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#0d1926" # Background Color FOREGROUND_COLOR="#d9e6f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/monokai.dark.sh b/monokai.dark.sh index e58506b..7bb3360 100755 --- a/monokai.dark.sh +++ b/monokai.dark.sh @@ -19,65 +19,12 @@ COLOR_14="#ae81ff" # COLOR_15="#2AA198" # COLOR_16="#f8f8f2" # -BACKGROUND_COLOR="#272822" # Background Color +BACKGROUND_COLOR="#272822" # Background Color FOREGROUND_COLOR="#f8f8f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/nep.sh b/nep.sh index c8e33ff..19a2203 100755 --- a/nep.sh +++ b/nep.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#758480" # Background Color FOREGROUND_COLOR="#23476a" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/pali.sh b/pali.sh index 1b150c5..0b7a4aa 100755 --- a/pali.sh +++ b/pali.sh @@ -19,65 +19,12 @@ COLOR_14="#FF1D62" # COLOR_15="#4BB8FD" # COLOR_16="#A020F0" # -BACKGROUND_COLOR="#232E37" # Background Color +BACKGROUND_COLOR="#232E37" # Background Color FOREGROUND_COLOR="#d9e6f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/sat.sh b/sat.sh index 04880ed..7a909de 100755 --- a/sat.sh +++ b/sat.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#758480" # Background Color FOREGROUND_COLOR="#23476a" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/shel.sh b/shel.sh index 39dfd31..8713b83 100755 --- a/shel.sh +++ b/shel.sh @@ -21,63 +21,10 @@ COLOR_16="#f5eeec" # BACKGROUND_COLOR="#2a201f" # Background Color FOREGROUND_COLOR="#4882cd" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/solarized.dark.sh b/solarized.dark.sh index ddf88b1..b02a23d 100755 --- a/solarized.dark.sh +++ b/solarized.dark.sh @@ -21,63 +21,10 @@ COLOR_16="#8a8a8a" # BACKGROUND_COLOR="#073642" # Background Color FOREGROUND_COLOR="#93a1a1" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/solarized.light.sh b/solarized.light.sh index b15d915..14b52ce 100755 --- a/solarized.light.sh +++ b/solarized.light.sh @@ -21,65 +21,10 @@ COLOR_16="#8a8a8a" # BACKGROUND_COLOR="#fdf6e3" # Background Color FOREGROUND_COLOR="#586e75" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/tin.sh b/tin.sh index 0f78ddc..83a1298 100755 --- a/tin.sh +++ b/tin.sh @@ -21,63 +21,10 @@ COLOR_16="#ffffff" # BACKGROUND_COLOR="#2e2e35" # Background Color FOREGROUND_COLOR="#ffffff" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/ura.sh b/ura.sh index 8242444..b3d68c5 100755 --- a/ura.sh +++ b/ura.sh @@ -21,63 +21,10 @@ COLOR_16="#e5e5e5" # BACKGROUND_COLOR="#feffee" # Background Color FOREGROUND_COLOR="#23476a" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh) diff --git a/vag.sh b/vag.sh index 1746106..fd04f1e 100755 --- a/vag.sh +++ b/vag.sh @@ -21,63 +21,10 @@ COLOR_16="#cfcfcf" # BACKGROUND_COLOR="#191f1d" # Background Color FOREGROUND_COLOR="#d9e6f2" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # # | -# | Convert RGB to gnome colors +# | Apply Colors # | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for OS and decide how to apply -# | =========================================== -if [ $(lsb_release -c -s) == "freya" ]; then - - # | - # | Apply Variables - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - - # | - # | Set gnome Variables - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - 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 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}" - gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -fi +source <(curl -s https://raw.githubusercontent.com/RafaelCz/Elementary-OS-Terminal-Colors/freya-support/_apply-colors.sh)