### Install Gogh via Interactive Mode Source: https://github.com/gogh-co/gogh/blob/master/README.md Executes the Gogh interactive installer directly from the web. This command fetches and runs the setup script, allowing users to select themes through a terminal-based menu. ```bash # Linux bash -c "$(wget -qO- https://git.io/vQgMr)" # macOS bash -c "$(curl -sLo- https://git.io/vQgMr)" ``` -------------------------------- ### System Command-Line Installation of Gogh Source: https://context7.com/gogh-co/gogh/llms.txt This snippet details how to install Gogh as a system-wide command-line tool. It involves downloading the Gogh script to `/usr/local/bin/gogh` using `wget` and setting execute permissions with `chmod`. Once installed, Gogh can be invoked from anywhere in the terminal. ```bash # Install gogh as system command (requires sudo) sudo wget -O /usr/local/bin/gogh https://git.io/vQgMr sudo chmod +x /usr/local/bin/gogh # Now use gogh from anywhere gogh # Interactive mode gogh Dracula # Install specific theme gogh dracula nord # Install multiple themes gogh ALL # Install all themes gogh --help # Show usage ``` -------------------------------- ### Install Themes via CLI Source: https://context7.com/gogh-co/gogh/llms.txt Install specific themes by passing their names as arguments to the gogh command. You can install individual themes, multiple themes at once, or all available themes. ```bash # Install a single theme by name gogh Dracula # Install multiple themes at once gogh dracula nord-light gruvbox-dark # Install all available themes gogh ALL # Remote one-liner with theme argument bash -c "$(wget -qO- https://git.io/vQgMr)" -- Dracula ``` -------------------------------- ### Perform Non-Interactive Theme Installation Source: https://context7.com/gogh-co/gogh/llms.txt Automate theme installation by cloning the repository and executing specific installation scripts. Use environment variables to define the terminal type and control installation behavior. ```bash git clone https://github.com/Gogh-Co/Gogh.git gogh cd gogh export TERMINAL=gnome-terminal cd installs ./dracula.sh export GOGH_NONINTERACTIVE=1 ./selenized-dark.sh export GOGH_USE_NEW_THEME=1 ./nord.sh ``` -------------------------------- ### Install and execute Gogh CLI Source: https://github.com/gogh-co/gogh/blob/master/README.md Commands to install the Gogh script to the system path and execute it. Includes methods for interactive selection, passing theme arguments, and one-line remote execution. ```bash # Install Gogh sudo wget -O /usr/local/bin/gogh https://git.io/vQgMr && sudo chmod +x /usr/local/bin/gogh # Run interactively gogh # Run with specific themes gogh Dracula gogh dracula nord-light gogh ALL # One-line remote execution bash -c "$(wget -qO- https://git.io/vQgMr)" -- Dracula ``` -------------------------------- ### Install Themes as Tilix Color Schemes Source: https://context7.com/gogh-co/gogh/llms.txt This section explains how to install Gogh themes as Tilix color schemes instead of profiles for easier management. It involves setting the TERMINAL environment variable, running a script, and answering 'y' to the prompt about using color schemes. It also shows how to apply multiple themes as schemes. ```bash export TERMINAL=tilix bash -c "$(wget -qO- https://git.io/vQgMr)" # When prompted "use color schemes instead of profiles?" answer 'y' # Schemes are saved to ~/.config/tilix/schemes/ # Apply multiple themes as schemes gogh dracula nord gruvbox-dark # Color scheme files will be created for each theme ``` -------------------------------- ### Install Themes via Non-Interactive Mode Source: https://github.com/gogh-co/gogh/blob/master/README.md Automates theme installation by cloning the repository or downloading specific scripts. This method is ideal for scripting and batch deployments where user interaction is not desired. ```bash # Clone the repo mkdir -p "$HOME/src" cd "$HOME/src" git clone https://github.com/Gogh-Co/Gogh.git gogh cd gogh # Set terminal environment and install export TERMINAL=gnome-terminal cd installs ./atom.sh ./dracula.sh ``` ```bash # Download bare minimum files wget https://github.com/Gogh-Co/Gogh/raw/master/apply-colors.sh wget https://github.com/Gogh-Co/Gogh/raw/master/installs/selenized-dark.sh ``` -------------------------------- ### Install Themes for Kitty, iTerm2, Konsole, XFCE4 Terminal Source: https://context7.com/gogh-co/gogh/llms.txt This snippet demonstrates how to set the TERMINAL environment variable to specify the target terminal emulator and then execute an installation script for a theme. It covers common terminal emulators like Kitty, iTerm2, Konsole, and XFCE4 Terminal. ```bash export TERMINAL=kitty ./installs/catppuccin-mocha.sh export TERMINAL=iTerm.app ./installs/one-dark.sh export TERMINAL=konsole ./installs/tokyo-night.sh export TERMINAL=xfce4-terminal ./installs/solarized-dark.sh ``` -------------------------------- ### Install Themes Interactively via Shell Source: https://context7.com/gogh-co/gogh/llms.txt Use these one-line commands to launch the interactive theme selection menu for your terminal. This method supports both Linux (wget) and macOS (curl) environments. ```bash # One-line installation using wget (Linux) bash -c "$(wget -qO- https://git.io/vQgMr)" # One-line installation using curl (macOS) bash -c "$(curl -sLo- https://git.io/vQgMr)" ``` -------------------------------- ### Custom Apply Script Location for Gogh Themes Source: https://context7.com/gogh-co/gogh/llms.txt This section explains how to override the default apply script paths when installing themes from a custom location. It shows how to download necessary scripts and set the GOGH_APPLY_SCRIPT or GOGH_ALACRITTY_SCRIPT environment variables before running the theme installation. ```bash # Download required files wget https://github.com/Gogh-Co/Gogh/raw/master/apply-colors.sh wget https://github.com/Gogh-Co/Gogh/raw/master/installs/dracula.sh # Specify apply script location export GOGH_APPLY_SCRIPT=/path/to/apply-colors.sh TERMINAL=gnome-terminal bash ./dracula.sh # For Alacritty terminal wget https://github.com/Gogh-Co/Gogh/raw/master/apply-alacritty.py export GOGH_ALACRITTY_SCRIPT=/path/to/apply-alacritty.py export TERMINAL=alacritty bash ./dracula.sh # For Terminator terminal wget https://github.com/Gogh-Co/Gogh/raw/master/apply-terminator.py export GOGH_TERMINATOR_SCRIPT=/path/to/apply-terminator.py export TERMINAL=terminator bash ./dracula.sh ``` -------------------------------- ### Pre-Installation Dependencies for Gogh on Linux Source: https://context7.com/gogh-co/gogh/llms.txt This snippet lists the system dependencies required before using Gogh on Linux systems. It provides package installation commands for Debian/Ubuntu and Arch Linux, as well as Python dependencies for Alacritty and Terminator support. ```bash # Debian/Ubuntu sudo apt-get install dconf-cli uuid-runtime # Arch Linux sudo pacman -S dconf util-linux-libs # For Alacritty support (Python dependencies) pip install ruamel.yaml tomli tomli_w # For Terminator support pip install configobj ``` -------------------------------- ### Install Pre-requisites for Terminal Color Schemes Source: https://github.com/gogh-co/gogh/blob/master/README.md Installs necessary system dependencies required for Gogh to function on Debian/Ubuntu or Arch Linux distributions. These packages ensure that dconf and UUID utilities are available for theme configuration. ```bash # Debian/Ubuntu sudo apt-get install dconf-cli uuid-runtime # Arch Linux sudo pacman -S dconf util-linux-libs ``` -------------------------------- ### Apply Themes to Specific Terminals Source: https://context7.com/gogh-co/gogh/llms.txt Configure themes for specific terminal emulators by setting the TERMINAL environment variable before running the installation script. Some terminals may require additional dependencies. ```bash # GNOME Terminal export TERMINAL=gnome-terminal ./installs/dracula.sh # Tilix export TERMINAL=tilix ./installs/nord.sh # Alacritty (requires Python dependencies) pip install ruamel.yaml tomli tomli_w export TERMINAL=alacritty ./installs/gruvbox-dark.sh ``` -------------------------------- ### Generator Pipeline Tools for Gogh Theme Data Source: https://context7.com/gogh-co/gogh/llms.txt This section outlines the steps to run the theme generation pipeline, which rebuilds all data files from YAML sources. It includes commands to generate JSON files, split them, create TXT palette files, export to CSV, generate shell scripts, update the `gogh.sh` file, record run timestamps, and generate WCAG accessibility reports. ```bash cd tools # Step 1: Generate themes.json from YAML files python pipe-generateJson.py # Step 2: Split into individual JSON files python pipe-generateJsonFiles.py # Step 3: Generate TXT palette files python pipe-generateTxtFiles.py # Step 4: Export to CSV format python pipe-generateCsv.py # Step 5: Generate install shell scripts python pipe-generateShFiles.py # Step 6: Update THEMES array in gogh.sh python pipe-updateThemes.py # Step 7: Record run timestamp python pipe.py # Step 8: Generate WCAG accessibility reports node pipe-generateWcag.js ``` -------------------------------- ### Fetch Remote Theme Data Source: https://context7.com/gogh-co/gogh/llms.txt Retrieve theme information, including JSON, CSV, and accessibility data, directly from the GitHub repository using curl. ```bash curl -s https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/themes.json curl -s https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/themes-min.json curl -s https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/themes.csv curl -s https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/json/dracula.json curl -s https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/wcag.json ``` -------------------------------- ### Access Theme Data via JSON Source: https://context7.com/gogh-co/gogh/llms.txt The project provides structured theme data in JSON format, containing metadata and color definitions. This allows for programmatic integration and external data usage. ```json { "name": "Dracula", "author": "Dracula (https://draculatheme.com)", "variant": "dark", "color_01": "#262626", "color_02": "#E64747", "color_03": "#42E66C", "color_04": "#E4F34A", "color_05": "#9B6BDF", "color_06": "#E356A7", "color_07": "#75D7EC", "color_08": "#F8F8F2", "color_09": "#7A7A7A", "color_10": "#FF5555", "color_11": "#50FA7B", "color_12": "#F1FA8C", "color_13": "#BD93F9", "color_14": "#FF79C6", "color_15": "#8BE9FD", "color_16": "#F9F9FB", "background": "#282A36", "foreground": "#F8F8F2", "cursor": "#F8F8F2", "hash": "407cedb9b79be33f3f7dcc9ef7f19feda921b2b08dcf9ad9b8f997ef2e6c35ac" } ``` -------------------------------- ### Define Custom Themes with YAML Source: https://context7.com/gogh-co/gogh/llms.txt Create custom color schemes by defining theme metadata and color palettes in YAML files. These files are typically stored in the themes/ directory. ```yaml --- name: 'My Custom Theme' author: 'Your Name (https://example.com)' variant: 'dark' color_01: '#292D3E' color_02: '#F07178' color_03: '#62DE84' color_04: '#FFCB6B' color_05: '#75A1FF' color_06: '#F580FF' color_07: '#60BAEC' color_08: '#ABB2BF' color_09: '#959DCB' color_10: '#F07178' color_11: '#C3E88D' color_12: '#FF5572' color_13: '#82AAFF' color_14: '#FFCB6B' color_15: '#676E95' color_16: '#FFFEFE' background: '#292D3E' foreground: '#BFC7D5' cursor: '#BFC7D5' ``` -------------------------------- ### Define Gogh terminal theme using YAML Source: https://github.com/gogh-co/gogh/blob/master/README.md A template for creating custom terminal color schemes. Users must provide HEX values for 16 color variables, background, foreground, and cursor colors, ensuring the filename matches the internal name property. ```yaml --- 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 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.