1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00
Gogh/README.md
Peter van der Meulen 4a1cee9d29
Fix Alacritty configuration script and docs
Alacritty looks for its configuration files in a small range of folders on OSX
and other unix systems

When getting started with this project I noticed that on OSX the user_config_dir
defaults to "[/Users/username/Library/Application Support](https://github.com/ActiveState/appdirs#some-example-output)"
This location is not among the locations Alacritty looks for according to [their own docs](https://github.com/alacritty/alacritty#configuration),
so installing a theme was bit of a pain.

I moved some stuff around to make the install script a little bit smarter, I
then also created a requirements.txt file to go along with the python file to
make sure users know what dependencies work with the script.

Installation of a theme also performs destructive/constructive actions on the
main configuration file for Alacritty so I also included a little prompt for the
user to double check if they really really want to write to the config file.

Lastly I updated the installation instructions to help alacritty users get
started

Unrelated (biased) side-point:
Most Unix terminal config lives in ~/.config/your_app_name these days. `src` is
bit of a weird name for a pretty specific theme engine on someone's computer.
I'm not going to make the change here, but I would deffo reccomend updating
documentation and scripts to install Gogh to the config DIR instead.
2022-11-22 22:26:00 +01:00

7.2 KiB

Gogh

Gogh

Color scheme for your terminal

Color Schemes For Ubuntu, Linux Mint, Elementary OS and all distributions that use Gnome Terminal, Pantheon Terminal, Tilix, or XFCE4 Terminal; initially inspired by Elementary OS Luna. Also works on iTerm for macOS. You can check out the themes here.

elementary


⚙️ Pre-Install

In your terminal type:

sudo apt-get install dconf-cli uuid-runtime

You can now install in interactive mode (easy) 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 are a Mac user:

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

2. Select the color theme installed from the terminal

DEMO:

gogh-demo-profile



Install (non-interactive mode)

# 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 themes dir
cd themes

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

💻 Terminals


🎨 Themes

We have lots of themes. Check them out here!

also all themes in json format: https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/themes.json



📌 How to

If you want to create your own color scheme or contribute to the project, start here.


🤔 Help



❤️ Credits:



❤️ Contributors:



Why Gogh?

There is no blue without yellow and without orange. -- Vincent Van Gogh



Author

💵 Buy me a coffee - paypal

📣 Mentions

Themes in json format

In your terminal type:

bash tools/generate.sh

This generates a json file located at gh-pages/data/themes.json

Original script source: https://gist.github.com/rapgru/09b449285231d18f4e4536c5f48fc927

🌟 Stargazers over time

Stargazers over time