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 | wget -qO apply-colors.sh https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh |
24 | chmod +x apply-colors.sh |
25 |
|
26 | export COLOR_01="#121C21" # HOST |
27 | export COLOR_02="#E44754" # SYNTAX_STRING |
28 | export COLOR_03="#89BD82" # COMMAND |
29 | export COLOR_04="#F7BD51" # COMMAND_COLOR2 |
30 | export COLOR_05="#5486C0" # PATH |
31 | export COLOR_06="#B77EB8" # SYNTAX_VAR |
32 | export COLOR_07="#50A5A4" # PROMP |
33 | export COLOR_08="#FFFFFF" # |
34 |
|
35 | export COLOR_09="#52606B" # |
36 | export COLOR_10="#E44754" # COMMAND_ERROR |
37 | export COLOR_11="#89BD82" # EXEC |
38 | export COLOR_12="#F7BD51" # |
39 | export COLOR_13="#5486C0" # FOLDER |
40 | export COLOR_14="#B77EB8" # |
41 | export COLOR_15="#50A5A4" # |
42 | export COLOR_16="#FFFFFF" # |
43 |
|
44 |
|
45 | export BACKGROUND_COLOR="#1b2b34" # Background Color |
46 | export FOREGROUND_COLOR="#cdcfd4" # Text |
47 | export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor |
48 | export PROFILE_NAME="Oceanic Next" |
49 |
|
50 | ./apply-colors.sh |
51 |
|
52 | rm apply-colors.sh |
53 |
|