1 | #!/bin/bash |
2 |
|
3 | HELPTEXT="./terminal_theme.sh <desktop|laptop>" |
4 | case $1 in |
5 | h|help|\?|-h|-help|-\?|--h|--help|--\?) |
6 | echo -e $HELPTEXT |
7 | exit 0 |
8 | ;; |
9 | desktop) |
10 | export TERMINAL="gnome-terminal" |
11 | ;; |
12 | laptop) |
13 | export TERMINAL="gnome-terminal" |
14 | ;; |
15 | *) |
16 | echo "Bad input $1" |
17 | echo -e $HELPTEXT |
18 | exit 0 |
19 | ;; |
20 | esac |
21 |
|
22 | cd "/tmp" |
23 | if [ ! -f apply-colors.sh ]; then |
24 | wget -qO apply-colors.sh https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh |
25 | chmod +x apply-colors.sh |
26 | fi |
27 |
|
28 | export COLOR_01="#121C21" # HOST |
29 | export COLOR_02="#E44754" # SYNTAX_STRING |
30 | export COLOR_03="#89BD82" # COMMAND |
31 | export COLOR_04="#F7BD51" # COMMAND_COLOR2 |
32 | export COLOR_05="#5486C0" # PATH |
33 | export COLOR_06="#B77EB8" # SYNTAX_VAR |
34 | export COLOR_07="#50A5A4" # PROMP |
35 | export COLOR_08="#FFFFFF" # |
36 |
|
37 | export COLOR_09="#52606B" # |
38 | export COLOR_10="#E44754" # COMMAND_ERROR |
39 | export COLOR_11="#89BD82" # EXEC |
40 | export COLOR_12="#F7BD51" # |
41 | export COLOR_13="#5486C0" # FOLDER |
42 | export COLOR_14="#B77EB8" # |
43 | export COLOR_15="#50A5A4" # |
44 | export COLOR_16="#FFFFFF" # |
45 |
|
46 |
|
47 | export BACKGROUND_COLOR="#1b2b34" # Background Color |
48 | export FOREGROUND_COLOR="#cdcfd4" # Text |
49 | export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor |
50 | export PROFILE_NAME="Oceanic Next" |
51 |
|
52 | ./apply-colors.sh |
53 |
|