diff --git a/README.md b/README.md index 9db3b7d..657b844 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,12 @@ Elementary-OS-Terminal-Colors #### Color Schemes For Elementary OS - Linux Mint - Ubuntu - ![elementary](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/themes.gif) - ---- ### How to install: -- **Download and save the script file, make this file executable and run it:** +- Download and save the script file, make this file executable and run it: ```bash $ wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/elementary.sh @@ -18,186 +16,219 @@ Elementary-OS-Terminal-Colors $ ./elementary.sh ``` -- **One line command** +- One line command -``` - $ wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/elementary.sh && chmod +x elementary.sh && ./elementary.sh && rm elementary.sh -``` - -- **Alternatively you can open the file and copy and paste lines directly into your shell.** +This way of installing is equals the above, the only thing is that a shortening of urls (git.io) was used and fits all commands on a single line. ```bash -gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/background_color '#101010101010' -gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color '#f2f2f2f2f2f2' -gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "#303030303030:#e1e132321a1a:#6a6ab0b01717:#ffffc0c00505:#00004f4f9e9e:#ecec00004848:#2a2aa7a7e7e7:#f2f2f2f2f2f2:#5d5d5d5d5d5d:#ffff36361e1e:#7b7bc9c91f1f:#ffffd0d00a0a:#00007171ffff:#ffff1d1d6262:#4b4bb8b8fdfd:#a0a02020f0f0" + $ wget -O xt http://git.io/fXU8Jg && chmod +x xt && ./xt && rm xt ``` -## Credits: +### New Script + +To have more control over colors, I made a new simple script to change those made with 4 bits. +This new script has variables which can be set according to preferences. +Please feel free to use and create your own color schemes. + +**You can send Pull Request.** + +- The Script + +https://github.com/Mayccoll/Elementary-OS-Terminal-Colors/blob/master/base.sh + +- Variables ```bash - http://ciembor.github.io/4bit/ + BACKGROUD_COLOR="#2F373B" # Background Color + FOREGROUND_COLOR="#d9e6f2" # Text + COLOR_01="#383838" # HOST + COLOR_03="#939f93" # COMMAND + COLOR_04="#9f9f93" # COMMAND_COLOR2 + COLOR_10="#ab4642" # COMMAND_ERROR + COLOR_05="#7cafc2" # PATH + COLOR_07="#ab4642" # PROMP + COLOR_11="#a1b56c" # EXEC + COLOR_13="#7cafc2" # FOLDER + + COLOR_02="#9f9393" # SYNTAX_STRING + COLOR_06="#9f939f" # SYNTAX_VAR + + COLOR_08="#F2F2F2" # COLOR_08 + COLOR_09="#5D5D5D" # COLOR_09 + COLOR_12="#FFD00A" # COLOR_12 + COLOR_14="#FF1D62" # COLOR_14 + COLOR_15="#4BB8FD" # COLOR_15 + COLOR_16="#A020F0" # COLOR_16 ``` -## More themes: -- aci.sh +#### Credits: + +- http://ciembor.github.io/4bit/ + +------- + +### More themes: + +- **aci.sh** ![aci](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/aci.png) + ```bash - # One line command, copy and paste into the terminal - $ THEMEE="aci.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/mGzs5Q && chmod +x xt && ./xt && rm xt ``` -- aco.sh +- **aco.sh** ![aco](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/aco.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="aco.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/0l4A5w && chmod +x xt && ./xt && rm xt ``` -- azu.sh +- **azu.sh** ![azu](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/azu.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="azu.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/pDU8aQ && chmod +x xt && ./xt && rm xt ``` -- cai.sh +- **cai.sh** ![cai](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/cai.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="cai.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/ECkzjg && chmod +x xt && ./xt && rm xt ``` -- elic.sh +- **elic.sh** ![elic](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/elic.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="elic.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/sSSshQ && chmod +x xt && ./xt && rm xt ``` -- elio.sh +- **elio.sh** ![elio](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/elio.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="elio.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/bCVhIA && chmod +x xt && ./xt && rm xt ``` -- miu.sh +- **miu.sh** ![miu](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/miu.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="miu.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/b-eZVQ && chmod +x xt && ./xt && rm xt ``` -- tin.sh +- **tin.sh** ![tin](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/tin.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="tin.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/W5dkrA && chmod +x xt && ./xt && rm xt ``` -- elementary.sh +- **elementary.sh** ![elementary](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/elementary.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="elementary.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/fXU8Jg && chmod +x xt && ./xt && rm xt ``` -- vag.sh +- **vag.sh** ![vag](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/vag.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="vag.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/xwkzlg && chmod +x xt && ./xt && rm xt ``` -- bim.sh +- **bim.sh** ![bim](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/bim.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="bim.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/-t0lXg && chmod +x xt && ./xt && rm xt ``` -- jup.sh +- **jup.sh** ![jup](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/jup.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="jup.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/PE0xXw && chmod +x xt && ./xt && rm xt ``` -- mar.sh +- **mar.sh** ![mar](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/mar.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="mar.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/g749-Q && chmod +x xt && ./xt && rm xt ``` -- nep.sh +- **nep.sh** ![nep](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/nep.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="nep.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/6hJsiw && chmod +x xt && ./xt && rm xt ``` -- sat.sh +- **sat.sh** ![sat](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/vag.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="sat.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/luv_2A && chmod +x xt && ./xt && rm xt ``` -- she.sh +- **shel.sh** -![she](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/she.png) +![shel](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/she.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="she.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/TF6KDA && chmod +x xt && ./xt && rm xt ``` -- ura.sh +- **ura.sh** ![ura](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/ura.png) ```bash - # One line command, copy and paste into the terminal - $ THEMEE="ura.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE +# One line install: +$ wget -O xt http://git.io/GUFFsQ && chmod +x xt && ./xt && rm xt ``` diff --git a/pali.sh b/pali.sh new file mode 100755 index 0000000..ee258bd --- /dev/null +++ b/pali.sh @@ -0,0 +1,70 @@ +#!/bin/bash + +# ====================CONFIG THIS =============================== # + +BACKGROUD_COLOR="#232E37" # Background Color +FOREGROUND_COLOR="#d9e6f2" # Text +COLOR_01="#0a0a0a" # HOST +COLOR_03="#74ab8f" # COMMAND +COLOR_04="#8fab74" # COMMAND_COLOR2 +COLOR_10="#FF1D62" # COMMAND_ERROR +COLOR_05="#8f74ab" # PATH +COLOR_07="#748fab" # PROMP +COLOR_11="#9cc3af" # EXEC +COLOR_13="#af9cc3" # FOLDER + +COLOR_02="#ab8f74" # SYNTAX_STRING +COLOR_06="#ab748f" # SYNTAX_VAR + +COLOR_08="#F2F2F2" # COLOR_08 +COLOR_09="#5D5D5D" # COLOR_09 +COLOR_12="#FFD00A" # COLOR_12 +COLOR_14="#FF1D62" # COLOR_14 +COLOR_15="#4BB8FD" # COLOR_15 +COLOR_16="#A020F0" # COLOR_16 + +# =============================================================== # + + +# | +# | Convert RGB to gnome colors +# | =========================================== +function gnome_color () { + AA=${1:1:2} + BB=${1:3:2} + CC=${1:5:2} + + echo "#${AA}${AA}${BB}${BB}${CC}${CC}" +} + + + +# | +# | Set gnome Variables +# | =========================================== + +BACKGROUD_COLOR=$(gnome_color $BACKGROUD_COLOR) +FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) +COLOR_01=$(gnome_color $COLOR_01) +COLOR_03=$(gnome_color $COLOR_03) +COLOR_04=$(gnome_color $COLOR_04) +COLOR_10=$(gnome_color $COLOR_10) +COLOR_05=$(gnome_color $COLOR_05) +COLOR_07=$(gnome_color $COLOR_07) +COLOR_11=$(gnome_color $COLOR_11) +COLOR_13=$(gnome_color $COLOR_13) + +COLOR_02=$(gnome_color $COLOR_02) +COLOR_06=$(gnome_color $COLOR_06) + + + +# | +# | 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 "${BACKGROUD_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}" \ No newline at end of file