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

Merge pull request #45 from jhonnymoreira/feat/create-profile-cli

[DONE] Create profile with CLI Script
This commit is contained in:
Mayccoll 2016-07-08 10:33:07 -05:00 committed by GitHub
commit ab7e383f0f
3 changed files with 215 additions and 43 deletions

View File

@ -12,7 +12,7 @@
```bash
$ wget -O xt http://git.io/v3D4o && chmod +x xt && ./xt && rm xt
```
This way of installing is equals the below, the only thing is that a shortening of urls (git.io) was used and fits all commands on a single line.
This way of installing is equals the below, the only thing is that a shortening of URLs (git.io) was used and fits all commands on a single line.
- **or** Download and save the script file, make this file executable and run it:
@ -53,7 +53,7 @@ WARNING: Only if you know what you are doing or thrust me :)
$ sudo wget -O /usr/local/bin/gogh http://git.io/vGz67 && sudo chmod +x /usr/local/bin/gogh
```
No in your terminal just tipe ```gogh```
Now in your terminal just type ```gogh```
```bash
$ gogh

172
script/gogh-with-profile.sh Executable file
View File

@ -0,0 +1,172 @@
#!/usr/bin/env bash
echo -e "
Gogh
\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m"
echo -e "
Themes:
(\\e[0m\e[0;34m 01 \\e[0m\e[0m) aci
(\\e[0m\e[0;34m 02 \\e[0m\e[0m) aco
(\\e[0m\e[0;34m 03 \\e[0m\e[0m) azu
(\\e[0m\e[0;34m 04 \\e[0m\e[0m) bim
(\\e[0m\e[0;34m 05 \\e[0m\e[0m) cai
(\\e[0m\e[0;34m 06 \\e[0m\e[0m) Chalk
(\\e[0m\e[0;34m 07 \\e[0m\e[0m) Dracula
(\\e[0m\e[0;34m 08 \\e[0m\e[0m) elementary
(\\e[0m\e[0;34m 09 \\e[0m\e[0m) elic
(\\e[0m\e[0;34m 10 \\e[0m\e[0m) elio
(\\e[0m\e[0;34m 11 \\e[0m\e[0m) Flat
(\\e[0m\e[0;34m 12 \\e[0m\e[0m) Freya
(\\e[0m\e[0;34m 13 \\e[0m\e[0m) Hemisu Dark
(\\e[0m\e[0;34m 14 \\e[0m\e[0m) Hemisu Light
(\\e[0m\e[0;34m 15 \\e[0m\e[0m) Hybrid
(\\e[0m\e[0;34m 16 \\e[0m\e[0m) jup
(\\e[0m\e[0;34m 17 \\e[0m\e[0m) mar
(\\e[0m\e[0;34m 18 \\e[0m\e[0m) Material Colors
(\\e[0m\e[0;34m 19 \\e[0m\e[0m) miu
(\\e[0m\e[0;34m 20 \\e[0m\e[0m) Monokai Dark
(\\e[0m\e[0;34m 21 \\e[0m\e[0m) nep
(\\e[0m\e[0;34m 22 \\e[0m\e[0m) Ocean Dark
(\\e[0m\e[0;34m 23 \\e[0m\e[0m) One Dark
(\\e[0m\e[0;34m 24 \\e[0m\e[0m) One Light
(\\e[0m\e[0;34m 25 \\e[0m\e[0m) pali
(\\e[0m\e[0;34m 26 \\e[0m\e[0m) Peppermint
(\\e[0m\e[0;34m 27 \\e[0m\e[0m) sat
(\\e[0m\e[0;34m 28 \\e[0m\e[0m) shel
(\\e[0m\e[0;34m 29 \\e[0m\e[0m) Smyck
(\\e[0m\e[0;34m 30 \\e[0m\e[0m) Solarized Dark
(\\e[0m\e[0;34m 31 \\e[0m\e[0m) Solarized Light
(\\e[0m\e[0;34m 32 \\e[0m\e[0m) tin
(\\e[0m\e[0;34m 33 \\e[0m\e[0m) Tomorrow
(\\e[0m\e[0;34m 34 \\e[0m\e[0m) Tomorrow Night
(\\e[0m\e[0;34m 35 \\e[0m\e[0m) Tomorrow Night Blue
(\\e[0m\e[0;34m 36 \\e[0m\e[0m) Tomorrow Night Bright
(\\e[0m\e[0;34m 37 \\e[0m\e[0m) Tomorrow Night Eighties
(\\e[0m\e[0;34m 38 \\e[0m\e[0m) ura
(\\e[0m\e[0;34m 39 \\e[0m\e[0m) vag
"
echo -e "Usage : Enter Theme Number (\\e[0m\e[0;34mOPTION\\e[0m\e[0m)"
echo -n 'Enter OPTION : '
read NUM
case $NUM in
0) echo '0 is not in OPTION' ;;
1 | 01) echo 'Theme: aci'
export {PROFILE_NAME,PROFILE_SLUG}='aci' && wget -O xt http://git.io/v3Dlm && chmod +x xt && ./xt && rm xt;;
2 | 02) echo 'Theme: aco'
export {PROFILE_NAME,PROFILE_SLUG}='aco' && wget -O xt http://git.io/v3Dll && chmod +x xt && ./xt && rm xt;;
3 | 03) echo 'Theme: azu'
export {PROFILE_NAME,PROFILE_SLUG}='azu' && wget -O xt http://git.io/v3Dlz && chmod +x xt && ./xt && rm xt;;
4 | 04) echo 'Theme: bim'
export {PROFILE_NAME,PROFILE_SLUG}='bim' && wget -O xt http://git.io/v3Dlr && chmod +x xt && ./xt && rm xt;;
5 | 05) echo 'Theme: cai'
export {PROFILE_NAME,PROFILE_SLUG}='cai' && wget -O xt http://git.io/v3Dli && chmod +x xt && ./xt && rm xt;;
6 | 06) echo 'Theme: Chalk'
export {PROFILE_NAME,PROFILE_SLUG}='Chalk' && wget -O xt http://git.io/v3Dlb && chmod +x xt && ./xt && rm xt;;
7 | 07) echo 'Theme: Dracula'
export {PROFILE_NAME,PROFILE_SLUG}='Dracula' && wget -O xt http://git.io/v3D8e && chmod +x xt && ./xt && rm xt;;
8 | 08) echo 'Theme: elementary'
export {PROFILE_NAME,PROFILE_SLUG}='elementary' && wget -O xt http://git.io/v3D8R && chmod +x xt && ./xt && rm xt;;
9 | 09) echo 'Theme: elic'
export {PROFILE_NAME,PROFILE_SLUG}='elic' && wget -O xt http://git.io/v3D82 && chmod +x xt && ./xt && rm xt;;
10) echo 'Theme: elio'
export {PROFILE_NAME,PROFILE_SLUG}='elio' && wget -O xt http://git.io/v3D44 && chmod +x xt && ./xt && rm xt;;
11) echo 'Theme: Flat'
export {PROFILE_NAME,PROFILE_SLUG}='Flat' && wget -O xt http://git.io/v3D4z && chmod +x xt && ./xt && rm xt;;
12) echo 'Theme: Freya'
export {PROFILE_NAME,PROFILE_SLUG}='Freya' && wget -O xt http://git.io/v3D4o && chmod +x xt && ./xt && rm xt;;
13) echo 'Theme: Hemisu Dark'
export {PROFILE_NAME,PROFILE_SLUG}='HemisuDark' && wget -O xt http://git.io/v3D4M && chmod +x xt && ./xt && rm xt;;
14) echo 'Theme: Hemisu Light'
export {PROFILE_NAME,PROFILE_SLUG}='HemisuLight' && wget -O xt http://git.io/v3D49 && chmod +x xt && ./xt && rm xt;;
15) echo 'Theme: Hybrid'
export {PROFILE_NAME,PROFILE_SLUG}='Hybrid' && wget -O xt http://git.io/v3D4d && chmod +x xt && ./xt && rm xt;;
16) echo 'Theme: jup'
export {PROFILE_NAME,PROFILE_SLUG}='jup' && wget -O xt http://git.io/v3D4N && chmod +x xt && ./xt && rm xt;;
17) echo 'Theme: mar'
export {PROFILE_NAME,PROFILE_SLUG}='mar' && wget -O xt http://git.io/v3DBe && chmod +x xt && ./xt && rm xt;;
18) echo 'Theme: Material Colors'
export {PROFILE_NAME,PROFILE_SLUG}='MaterialColors' && wget -O xt http://git.io/v3DBv && chmod +x xt && ./xt && rm xt;;
19) echo 'Theme: miu'
export {PROFILE_NAME,PROFILE_SLUG}='miu' && wget -O xt http://git.io/v3DBT && chmod +x xt && ./xt && rm xt;;
20) echo 'Theme: Monokai Dark'
export {PROFILE_NAME,PROFILE_SLUG}='MonokaiDark' && wget -O xt http://git.io/v3DBO && chmod +x xt && ./xt && rm xt;;
21) echo 'Theme: nep'
export {PROFILE_NAME,PROFILE_SLUG}='nep' && wget -O xt http://git.io/v3DBB && chmod +x xt && ./xt && rm xt;;
22) echo 'Theme: Ocean Dark'
export {PROFILE_NAME,PROFILE_SLUG}='OceanDark' && wget -O xt http://git.io/v3DBz && chmod +x xt && ./xt && rm xt;;
23) echo 'Theme: One Dark $ '
export {PROFILE_NAME,PROFILE_SLUG}='OneDark' && wget -O xt http://git.io/vs7Ut && chmod +x xt && ./xt && rm xt;;
24) echo 'Theme: One Light'
export {PROFILE_NAME,PROFILE_SLUG}='OneLight' && wget -O xt http://git.io/vs7UQ && chmod +x xt && ./xt && rm xt;;
25) echo 'Theme: pali'
export {PROFILE_NAME,PROFILE_SLUG}='pali' && wget -O xt http://git.io/v3DBV && chmod +x xt && ./xt && rm xt;;
26) echo 'Theme: Peppermint'
export {PROFILE_NAME,PROFILE_SLUG}='Peppermint' && wget -O xt http://git.io/v3DBK && chmod +x xt && ./xt && rm xt;;
27) echo 'Theme: sat'
export {PROFILE_NAME,PROFILE_SLUG}='sat' && wget -O xt http://git.io/v3DBP && chmod +x xt && ./xt && rm xt;;
28) echo 'Theme: shel'
export {PROFILE_NAME,PROFILE_SLUG}='shel' && wget -O xt http://git.io/v3DBM && chmod +x xt && ./xt && rm xt;;
29) echo 'Theme: Smyck'
export {PROFILE_NAME,PROFILE_SLUG}='Smyck' && wget -O xt http://git.io/v3DB9 && chmod +x xt && ./xt && rm xt;;
30) echo 'Theme: Solarized Dark'
export {PROFILE_NAME,PROFILE_SLUG}='SolarizedDark' && wget -O xt http://git.io/v3DBQ && chmod +x xt && ./xt && rm xt;;
31) echo 'Theme: Solarized Light'
export {PROFILE_NAME,PROFILE_SLUG}='SolarizedLight' && wget -O xt http://git.io/v3DB5 && chmod +x xt && ./xt && rm xt;;
32) echo 'Theme: tin'
export {PROFILE_NAME,PROFILE_SLUG}='tin' && wget -O xt http://git.io/v3DBF && chmod +x xt && ./xt && rm xt;;
33) echo 'Theme: Tomorrow'
export {PROFILE_NAME,PROFILE_SLUG}='Tomorrow' && wget -O xt http://git.io/v3DRc && chmod +x xt && ./xt && rm xt;;
34) echo 'Theme: Tomorrow Night'
export {PROFILE_NAME,PROFILE_SLUG}='TomorrowNight' && wget -O xt http://git.io/v3DRs && chmod +x xt && ./xt && rm xt;;
35) echo 'Theme: Tomorrow Night Blue'
export {PROFILE_NAME,PROFILE_SLUG}='TomorrowNightBlue' && wget -O xt http://git.io/v3DBj && chmod +x xt && ./xt && rm xt;;
36) echo 'Theme: Tomorrow Night Bright'
export {PROFILE_NAME,PROFILE_SLUG}='TomorrowNightBright' && wget -O xt http://git.io/v3DRJ && chmod +x xt && ./xt && rm xt;;
37) echo 'Theme: Tomorrow Night Eighties'
export {PROFILE_NAME,PROFILE_SLUG}='TomorrowNightEighties' && wget -O xt http://git.io/v3DRI && chmod +x xt && ./xt && rm xt;;
38) echo 'Theme: ura'
export {PROFILE_NAME,PROFILE_SLUG}='ura' && wget -O xt http://git.io/v3DRB && chmod +x xt && ./xt && rm xt;;
39) echo 'Theme: vag'
export {PROFILE_NAME,PROFILE_SLUG}='vag' && wget -O xt http://git.io/v3DR0 && chmod +x xt && ./xt && rm xt;;
*) echo 'INVALID OPTION!' ;;
esac

View File

@ -46,127 +46,127 @@ Themes:
(\\e[0m\e[0;34m 39 \\e[0m\e[0m) vag
"
echo -e "Usage : Enter Theme Number (\\e[0m\e[0;34mOPTION\\e[0m\e[0m)"
echo -n 'Enter OPTION : '
echo -n 'Enter OPTION :'
read NUM
case $NUM in
0) echo '0 is not in OPTION' ;;
1 | 01) echo 'Thme: aci '
1 | 01) echo 'Theme: aci'
wget -O xt http://git.io/v3Dlm && chmod +x xt && ./xt && rm xt;;
2 | 02) echo 'Thme: aco '
2 | 02) echo 'Theme: aco'
wget -O xt http://git.io/v3Dll && chmod +x xt && ./xt && rm xt;;
3 | 03) echo 'Thme: azu '
3 | 03) echo 'Theme: azu'
wget -O xt http://git.io/v3Dlz && chmod +x xt && ./xt && rm xt;;
4 | 04) echo 'Thme: bim '
4 | 04) echo 'Theme: bim'
wget -O xt http://git.io/v3Dlr && chmod +x xt && ./xt && rm xt;;
5 | 05) echo 'Thme: cai '
5 | 05) echo 'Theme: cai'
wget -O xt http://git.io/v3Dli && chmod +x xt && ./xt && rm xt;;
6 | 06) echo 'Thme: Chalk '
6 | 06) echo 'Theme: Chalk'
wget -O xt http://git.io/v3Dlb && chmod +x xt && ./xt && rm xt;;
7 | 07) echo 'Thme: Dracula '
7 | 07) echo 'Theme: Dracula'
wget -O xt http://git.io/v3D8e && chmod +x xt && ./xt && rm xt;;
8 | 08) echo 'Thme: elementary '
8 | 08) echo 'Theme: elementary'
wget -O xt http://git.io/v3D8R && chmod +x xt && ./xt && rm xt;;
9 | 09) echo 'Thme: elic '
9 | 09) echo 'Theme: elic'
wget -O xt http://git.io/v3D82 && chmod +x xt && ./xt && rm xt;;
10) echo 'Thme: elio '
10) echo 'Theme: elio'
wget -O xt http://git.io/v3D44 && chmod +x xt && ./xt && rm xt;;
11) echo 'Thme: Flat '
11) echo 'Theme: Flat'
wget -O xt http://git.io/v3D4z && chmod +x xt && ./xt && rm xt;;
12) echo 'Thme: Freya '
12) echo 'Theme: Freya'
wget -O xt http://git.io/v3D4o && chmod +x xt && ./xt && rm xt;;
13) echo 'Thme: Hemisu Dark '
13) echo 'Theme: Hemisu Dark'
wget -O xt http://git.io/v3D4M && chmod +x xt && ./xt && rm xt;;
14) echo 'Thme: Hemisu Light '
14) echo 'Theme: Hemisu Light'
wget -O xt http://git.io/v3D49 && chmod +x xt && ./xt && rm xt;;
15) echo 'Thme: Hybrid '
15) echo 'Theme: Hybrid'
wget -O xt http://git.io/v3D4d && chmod +x xt && ./xt && rm xt;;
16) echo 'Thme: jup '
16) echo 'Theme: jup'
wget -O xt http://git.io/v3D4N && chmod +x xt && ./xt && rm xt;;
17) echo 'Thme: mar '
17) echo 'Theme: mar'
wget -O xt http://git.io/v3DBe && chmod +x xt && ./xt && rm xt;;
18) echo 'Thme: Material Colors '
18) echo 'Theme: Material Colors'
wget -O xt http://git.io/v3DBv && chmod +x xt && ./xt && rm xt;;
19) echo 'Thme: miu '
19) echo 'Theme: miu'
wget -O xt http://git.io/v3DBT && chmod +x xt && ./xt && rm xt;;
20) echo 'Thme: Monokai Dark '
20) echo 'Theme: Monokai Dark'
wget -O xt http://git.io/v3DBO && chmod +x xt && ./xt && rm xt;;
21) echo 'Thme: nep '
21) echo 'Theme: nep'
wget -O xt http://git.io/v3DBB && chmod +x xt && ./xt && rm xt;;
22) echo 'Thme: Ocean Dark '
22) echo 'Theme: Ocean Dark'
wget -O xt http://git.io/v3DBz && chmod +x xt && ./xt && rm xt;;
23) echo 'Thme: One Dark $ '
23) echo 'Theme: One Dark $'
wget -O xt http://git.io/vs7Ut && chmod +x xt && ./xt && rm xt;;
24) echo 'Thme: One Light '
24) echo 'Theme: One Light'
wget -O xt http://git.io/vs7UQ && chmod +x xt && ./xt && rm xt;;
25) echo 'Thme: pali '
25) echo 'Theme: pali'
wget -O xt http://git.io/v3DBV && chmod +x xt && ./xt && rm xt;;
26) echo 'Thme: Peppermint '
26) echo 'Theme: Peppermint'
wget -O xt http://git.io/v3DBK && chmod +x xt && ./xt && rm xt;;
27) echo 'Thme: sat '
27) echo 'Theme: sat'
wget -O xt http://git.io/v3DBP && chmod +x xt && ./xt && rm xt;;
28) echo 'Thme: shel '
28) echo 'Theme: shel'
wget -O xt http://git.io/v3DBM && chmod +x xt && ./xt && rm xt;;
29) echo 'Thme: Smyck '
29) echo 'Theme: Smyck'
wget -O xt http://git.io/v3DB9 && chmod +x xt && ./xt && rm xt;;
30) echo 'Thme: Solarized Dark '
30) echo 'Theme: Solarized Dark'
wget -O xt http://git.io/v3DBQ && chmod +x xt && ./xt && rm xt;;
31) echo 'Thme: Solarized Light '
31) echo 'Theme: Solarized Light'
wget -O xt http://git.io/v3DB5 && chmod +x xt && ./xt && rm xt;;
32) echo 'Thme: tin '
32) echo 'Theme: tin'
wget -O xt http://git.io/v3DBF && chmod +x xt && ./xt && rm xt;;
33) echo 'Thme: Tomorrow '
33) echo 'Theme: Tomorrow'
wget -O xt http://git.io/v3DRc && chmod +x xt && ./xt && rm xt;;
34) echo 'Thme: Tomorrow Night '
34) echo 'Theme: Tomorrow Night'
wget -O xt http://git.io/v3DRs && chmod +x xt && ./xt && rm xt;;
35) echo 'Thme: Tomorrow Night Blue '
35) echo 'Theme: Tomorrow Night Blue'
wget -O xt http://git.io/v3DBj && chmod +x xt && ./xt && rm xt;;
36) echo 'Thme: Tomorrow Night Bright '
36) echo 'Theme: Tomorrow Night Bright'
wget -O xt http://git.io/v3DRJ && chmod +x xt && ./xt && rm xt;;
37) echo 'Thme: Tomorrow Night Eighties '
37) echo 'Theme: Tomorrow Night Eighties'
wget -O xt http://git.io/v3DRI && chmod +x xt && ./xt && rm xt;;
38) echo 'Thme: ura '
38) echo 'Theme: ura'
wget -O xt http://git.io/v3DRB && chmod +x xt && ./xt && rm xt;;
39) echo 'Thme: vag '
39) echo 'Theme: vag'
wget -O xt http://git.io/v3DR0 && chmod +x xt && ./xt && rm xt;;
*) echo 'INVALID OPTION!' ;;
esac
esac