Skip to content
/ Gogh Public

Gogh is a collection of color schemes for various terminal emulators, including Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal also compatible with iTerm on macOS.

License

Notifications You must be signed in to change notification settings

Gogh-Co/Gogh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Gogh

Gogh
๐Ÿ”น Visit the Website ๐Ÿ”น

Created Badge

Color Scheme Implementer for Terminals

Gogh is a collection of color schemes for various terminal emulators, including Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal. These schemes are designed to make your terminal more visually appealing and improve your productivity by providing a better contrast and color differentiation. (This fork of Gogh includes a color scheme named "Vaombe".)

The inspiration for Gogh came from the clean and minimalistic design of Elementary OS, but the project has since grown to include a variety of unique and beautiful options. Not only does Gogh work on Linux systems, but it's also compatible with iTerm on macOS, providing a consistent and visually appealing experience across platforms.


Index:




gogh


โš™๏ธ Pre-Install

In your terminal, type:

For Debian/Ubuntu:

sudo apt-get install dconf-cli uuid-runtime

For Arch Linux:

sudo pacman -S dconf util-linux-libs

You can now install Gogh in Interactive Mode (Easier) or Non-Interactive Mode! (Ideal for Scripting)



Install

Interactive Mode:

1. Just copy and paste this one-line command:

bash -c "$(wget -qO- https://git.io/vQgMr)"

Or, if you're a Mac user:

bash -c "$(curl -sLo- https://git.io/vQgMr)"

2. Select your installed theme from your terminal.

DEMO:

gogh-demo-profile



โš™๏ธ Install (Non-Interactive Mode)

Two ways:

  • Clone the repository.
  • Download the only required files. (Bare Minimum!)

Clone Repository

# Clone the repo into "$HOME/src/gogh"
mkdir -p "$HOME/src"
cd "$HOME/src"
git clone https://github.com/Gogh-Co/Gogh.git gogh
cd gogh

# necessary in the Gnome terminal on ubuntu
export TERMINAL=gnome-terminal

# necessary in the Alacritty terminal
pip install -r requirements.txt
export TERMINAL=alacritty

# Enter theme installs dir
cd installs

# install themes
./atom.sh
./dracula.sh

Download the only required files. (Bare Minimum!)

# Download apply script
wget https://github.com/Gogh-Co/Gogh/raw/master/apply-colors.sh
# Download desired themes from ./installs/ like this:
wget https://github.com/Gogh-Co/Gogh/raw/master/installs/selenized-dark.sh

# Optional - download Alacritty dependency (may require additional python packages, see requirements.txt for more)
wget https://github.com/Gogh-Co/Gogh/raw/master/apply-alacritty.py
# Optional - download Terminator dependency (may require additional python packages, see requirements.txt for more)
wget https://github.com/Gogh-Co/Gogh/raw/master/apply-terminator.py

# You can also specify where to find the apply scripts with the following environmental variables:
GOGH_APPLY_SCRIPT=/path/to/apply-colors.sh
GOGH_ALACRITTY_SCRIPT=/path/to/apply-alacritty.py   # only needed if applying to Alacritty terminal
GOGH_TERMINATOR_SCRIPT=/path/to/apply-terminator.py # only needed if applying to Terminator terminal

# Control Gogh behavior with the following:
TERMINAL=gnome-terminal # Select for which terminal to install the theme
                        # (see apply-colors.sh for all supported terminals)
GOGH_NONINTERACTIVE= # Make output silent and answer all prompts with default value
                     # (errors will still be printed)
GOGH_USE_NEW_THEME= # Make theme the currently used/default one of the terminal
                    # Actual effect may differ between terminals
                    # Supported terminals: xfce4-terminal

# Apply downloaded theme (apply script must be in the same folder)
TERMINAL=gnome-terminal bash ./selenized-dark.sh
# OR specify apply script path
GOGH_APPLY_SCRIPT=/path/to/file/apply-colors.sh bash ./selenized-dark.sh


๐Ÿ’ป Terminal Support

Here are some terminals that Gogh is supported with:



๐ŸŽจ Themes

We have lots of themes in stock! Check them out here!



๐Ÿ‘€ WCAG - Accessibility Contrast



โ“ HELP

๐Ÿ”น Debian Fixes

Fix 1 (@romzie):

  • Reset your profiles:
dconf reset -f /org/gnome/terminal/legacy/profiles:/

Fix 2 (@MalwareJedi):

  • Reset your profiles:
dconf reset -f /org/gnome/terminal/legacy/profiles:/
  • Close your terminal; re-open it.
  • Go to Edit ---> Preferences ---> Profiles.
  • Create a new profile called Default.
  • Close the terminal. re-open it.
  • Confirm that Default is still listed in your profiles.
  • If it is, run the Gogh script again.

Fix 3 (@sui74):

  • Reset your profiles:
dconf reset -f /org/gnome/terminal/legacy/profiles:/
  • "Unname" Rename profile called "default".
sudo apt install uuid-runtime
  • Run the Gogh script.

๐Ÿ”น Elementary OS

1 - Uncomment the following line in .bashrc ;you can find this file in your /home/USER/ directory.

    #force_color_prompt=yes

2 - Execute in terminal

source .bashrc


๐Ÿ–ผ๏ธ Create your Own Theme!

Good news! Now, creating themes are easier than ever.

All you need to do is to create a YAML format file, following the example of the other files in the themes folder.

Some rules to keep in mind:

  • The file name should match the name of the theme. For example:
    • Filename: Solarized Dark.yml
    • Inside the .yml file: name: 'Solarized Dark'
  • Use title case for all words by capitalizing their first letter.
  • Ensure that the contrast is sufficient for good legibility.

Now, you can send your Pull Request Thank you for collaborating!

Theme ".yml" template

If you indeed use this, replace the HEX values with your own ones.

---
name: 'Gogh'
author: ''             # 'Author Name (http://website.com)'
variant: ''            # Dark or Light

color_01: '#292D3E'    # Black (Host)
color_02: '#F07178'    # Red (Syntax string)
color_03: '#62DE84'    # Green (Command)
color_04: '#FFCB6B'    # Yellow (Command second)
color_05: '#75A1FF'    # Blue (Path)
color_06: '#F580FF'    # Magenta (Syntax var)
color_07: '#60BAEC'    # Cyan (Prompt)
color_08: '#ABB2BF'    # White

color_09: '#959DCB'    # Bright Black
color_10: '#F07178'    # Bright Red (Command error)
color_11: '#C3E88D'    # Bright Green (Exec)
color_12: '#FF5572'    # Bright Yellow
color_13: '#82AAFF'    # Bright Blue (Folder)
color_14: '#FFCB6B'    # Bright Magenta
color_15: '#676E95'    # Bright Cyan
color_16: '#FFFEFE'    # Bright White

background: '#292D3E'  # Background
foreground: '#BFC7D5'  # Foreground (Text)

cursor: '#BFC7D5'      # Cursor

Explanation of colors and variables

The colors of the terminal are composed of 18 colors in 3 sections.

Section 1: Regular text.

Section 2: Bold text.

Section 3: text and background.

The basic colors are 8:

  • Black
  • Red
  • Green
  • Yellow
  • Blue
  • Purple
  • Cyan
  • White

In comments variables is that of the console belongs each color.

Here is a picture that explains a little better as colors are distributed.

Colors


๐Ÿ‘จโ€๐Ÿ’ป As command line

WARNING: Only if you know what you are doing or trust me :)

sudo wget -O /usr/local/bin/gogh https://git.io/vQgMr && sudo chmod +x /usr/local/bin/gogh

Now in your terminal just type gogh:

gogh

๐ŸŒฑ First commit:

Nov 18, 2013 - aa9871e


โค๏ธ Credits:


โค๏ธ Contributors:

Many thanks to all who have participated in this project.

@contributors



๐Ÿง  Author (contributor)

I cannot claim to be the only author of this project. Without the help of the people who have contributed, this would not have been possible. Therefore, that's why all contributors are listed first in this document. While I am listed as the author, the true authors are all those who are mentioned in the document. I would like to express my gratitude to all of them, as well as to future contributors.

ย ย ย ย  ๐Ÿ’ต Invite me a coffee - paypal



๐Ÿ–Œ๏ธ Why Gogh?

There is no blue without yellow and without orange.

-- Vincent Van Gogh --



๐Ÿ“ฃ Mentions


๐ŸŒŸ Stargazers Over Time

Stargazers over time