https://github.com/solidiquis/alac-pretty
Terminal UI that allows Alacritty users to quickly and easily shuffle through provided themes 🦄
https://github.com/solidiquis/alac-pretty
alacritty rust terminal-app terminal-based terminal-ui
Last synced: 3 months ago
JSON representation
Terminal UI that allows Alacritty users to quickly and easily shuffle through provided themes 🦄
- Host: GitHub
- URL: https://github.com/solidiquis/alac-pretty
- Owner: solidiquis
- License: mit
- Created: 2021-10-11T02:03:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-14T08:21:10.000Z (over 3 years ago)
- Last Synced: 2025-04-11T05:35:39.679Z (6 months ago)
- Topics: alacritty, rust, terminal-app, terminal-based, terminal-ui
- Language: Rust
- Homepage:
- Size: 24.4 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alac-pretty
---https://user-images.githubusercontent.com/45523555/136723881-ee7b14ff-7242-4a8f-84c3-0908f7380f28.mp4
If you're like me in that you constantly need to change the colors of your dev environment because visual stagnation really bothers you, then get on [Alacritty](https://github.com/alacritty/alacritty) and download this BlAZiNgLy FAsT color-scheme shuffler. This only works for POSIX-compliant systems... sorry Windows peeps.
## Installation
Unfortunately I am too lazy to do releases and compile this for various systems so you'll have to do this manually for now.
1. Make sure you have [Rust and its toolchain](https://www.rust-lang.org/tools/install) installed.
2. `$ cargo install --git https://github.com/solidiquis/alac-pretty`
3. Stick the resultant binary somewhere in your path.## Essential pre-requisites before using
The official Alacritty docs requires that you have your Alacritty config at one of the following locations:
1. $XDG_CONFIG_HOME/alacritty/alacritty.yml
2. $XDG_CONFIG_HOME/alacritty.yml
3. $HOME/.config/alacritty/alacritty.yml
4. $HOME/.alacritty.ymlTo use this program, you'll need to stick [this additional file](https://github.com/solidiquis/alac-pretty/blob/master/assets/sample_alacritty_color_schemes.yml) in one of the following locations as well:
1. $XDG_CONFIG_HOME/alacritty/alacritty_color_schemes.yml
2. $XDG_CONFIG_HOME/alacritty_color_schemes.yml
3. $HOME/.config/alacritty/alacritty_color_schemes.yml
4. $HOME/.alacritty_color_schemes.ymlLastly, your `alacritty.yml` file's `scheme` and `colors` settings will need to be formatted exactly like this [file](https://github.com/solidiquis/alac-pretty/blob/master/assets/sample_alacritty.yml).
## How to use
- Scrolling up: `k` or `↑`
- Scrolling down: `j` or `↓`
- Exiting: `Ctrl-c`## To-do
- Better test coverage.
- Incorporate Github workflows + do releases
- Handle `SIGWINCH` signal.## Acknowledgements
Thanks to [eendroroy](https://github.com/eendroroy) for putting together all the colorschemes which I used to put together [this bad boy](https://github.com/solidiquis/alac-pretty/blob/master/assets/sample_alacritty_color_schemes.yml).## Author notes
I made [another version of this project](https://github.com/solidiquis/alacpretty) in Go but wasn't very happy with it. Decided to make a skinnier version in Rust for fun that only handled colorschemes and didn't leverage any Terminal UI libs.