1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

new script file and theme pali

This commit is contained in:
Mayccoll 2014-12-14 15:49:19 -05:00
parent 74e1cf9fb8
commit 48ea38a020
2 changed files with 168 additions and 67 deletions

165
README.md
View File

@ -3,14 +3,12 @@ Elementary-OS-Terminal-Colors
#### Color Schemes For Elementary OS - Linux Mint - Ubuntu #### Color Schemes For Elementary OS - Linux Mint - Ubuntu
![elementary](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/themes.gif) ![elementary](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/themes.gif)
---- ----
### How to install: ### 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 ```bash
$ wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/elementary.sh $ wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/elementary.sh
@ -18,186 +16,219 @@ Elementary-OS-Terminal-Colors
$ ./elementary.sh $ ./elementary.sh
``` ```
- **One line command** - One line command
``` 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.
$ 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.**
```bash ```bash
gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/background_color '#101010101010' $ wget -O xt http://git.io/fXU8Jg && chmod +x xt && ./xt && rm xt
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"
``` ```
## 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 ```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) ![aci](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/aci.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="aci.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![aco](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/aco.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="aco.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![azu](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/azu.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="azu.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![cai](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/cai.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="cai.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![elic](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/elic.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="elic.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![elio](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/elio.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="elio.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![miu](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/miu.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="miu.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![tin](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/tin.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="tin.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![elementary](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/elementary.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="elementary.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![vag](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/vag.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="vag.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![bim](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/bim.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="bim.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![jup](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/jup.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="jup.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![mar](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/mar.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="mar.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![nep](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/nep.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="nep.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![sat](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/vag.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="sat.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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 ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="she.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ 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) ![ura](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/ura.png)
```bash ```bash
# One line command, copy and paste into the terminal # One line install:
$ THEMEE="ura.sh" && wget https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/$THEMEE && chmod +x $THEMEE && ./$THEMEE && rm $THEMEE $ wget -O xt http://git.io/GUFFsQ && chmod +x xt && ./xt && rm xt
``` ```

70
pali.sh Executable file
View File

@ -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}"