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.
- Format README.md and add links to theme authors
- Fix indentation in gogh.sh
- Modify comments to identify colors by their name rather than their
use
- shellcheck errors
- quote variables in most places to prevent word globbing
- use $(cmd) instead of legacy `cmd`