For scripting, dotfiles, provisioning tools, CI, or container images — installing a theme without going through gogh.sh's interactive menu.
- Method 1: clone the repository
- Method 2: download only what you need
- Selecting themes by name (CLI arguments)
- Environment variables
mkdir -p "$HOME/src"
cd "$HOME/src"
git clone https://github.com/Gogh-Co/Gogh.git gogh
cd gogh
export TERMINAL=gnome-terminal # or whichever terminal you're targeting
# Alacritty needs its Python dependency installed first
pip install -r requirements.txt
cd installs
./dracula.shSkip cloning the whole repo — just grab apply-colors.sh and the one theme's install script from installs/:
wget https://github.com/Gogh-Co/Gogh/raw/master/apply-colors.sh
wget https://github.com/Gogh-Co/Gogh/raw/master/installs/selenized-dark.shAlacritty and Terminator each need an extra Python helper script:
wget https://github.com/Gogh-Co/Gogh/raw/master/apply-alacritty.py # only for Alacritty
wget https://github.com/Gogh-Co/Gogh/raw/master/apply-terminator.py # only for TerminatorThen apply the theme (the apply script must be in the same folder, or point GOGH_APPLY_SCRIPT at it):
TERMINAL=gnome-terminal bash ./selenized-dark.shFrom a cloned repo, gogh.sh also accepts theme names/slugs directly, skipping the interactive list:
./gogh.sh Dracula
./gogh.sh dracula nord-light
# all themes
./gogh.sh ALLFor one-line remote usage with arguments, pass -- before the options:
bash -c "$(wget -qO- https://gogh.website/gogh)" -- Dracula| Variable | Purpose |
|---|---|
TERMINAL |
Which terminal to install the theme for — see the Terminal Support table for supported values. Auto-detected if unset. |
GOGH_NONINTERACTIVE |
Silences output and answers every prompt with its default instead of asking. Errors still print. |
GOGH_USE_NEW_THEME |
Applies the theme to the terminal's current session automatically instead of asking "apply new theme?". Only affects Tilix, XFCE4 Terminal, and Termux — other terminals ignore it. |
GOGH_APPLY_SCRIPT |
Path to apply-colors.sh, if it isn't next to the theme's install script. |
GOGH_ALACRITTY_SCRIPT |
Path to apply-alacritty.py. Only needed for Alacritty. |
GOGH_TERMINATOR_SCRIPT |
Path to apply-terminator.py. Only needed for Terminator. |
Combining a few of these:
GOGH_APPLY_SCRIPT=/path/to/apply-colors.sh TERMINAL=gnome-terminal GOGH_NONINTERACTIVE=1 bash ./selenized-dark.sh