toggle-corp / alacritty-colorscheme

Change colorscheme of alacritty with ease.
Apache License 2.0
345 stars 35 forks source link

Move to new TOML format. #44

Open akiss-xyz opened 9 months ago

akiss-xyz commented 9 months ago

Alacritty moved to a new TOML-based configuration format, and this ruined all my scripts (which used this lovely project).

This PR adds a new config reader/writer based on tomlkit. This can be found under alacritty_colorscheme/colorscheme_toml.py.

This all has partly been integrated into the CLI. Currently only supports the 'apply' command. 'toggle' and 'status' aren't done yet!

There's a small set of tests to go along with this.

Also fixed some test failures along the way, and added some quality-of-life things.

This PR resolves #43.

bsdinis commented 2 months ago

Is there any progress on this PR? Would love to see it merged!