Crates.io | ron_way |
lib.rs | ron_way |
version | 0.1.0 |
source | src |
created_at | 2024-09-13 20:15:07.828534 |
updated_at | 2024-09-13 20:15:07.828534 |
description | Convert Alacritty terminal themes in TOML format to RON format for use with Cosmic Terminal |
homepage | |
repository | |
max_upload_size | |
id | 1374123 |
size | 12,604 |
Ron_Way
is a command-line tool designed to convert Alacritty terminal themes in TOML format to Cosmic Terminal themes in RON format. This is my first Rust project and I hope it helps others, even if it's janky as hell.
To install Ron_Way
, clone this repository and build the project using Cargo.
git clone https://github.com/SloKart/Ron_Way.git
cd Ron_Way
cargo install --path .
Alternatively, you can build and install it locally without adding it to Cargo's global install path:
cargo build --release
Once installed, you can use Ron_Way
from the command line to convert your theme files.
Ron_Way <input.toml> <output.ron>
<input.toml>
: Path to the input TOML file containing the Alacritty theme.<output.ron>
: Path to the output RON file where the converted Cosmic Terminal theme will be saved.Ron_Way ~/Downloads/gruvbox_light.toml ~/Downloads/gruvbox_light.ron
This command will read the gruvbox_light.toml
file from the Downloads
directory and output the converted RON file as gruvbox_light.ron
in the same directory.
Ron_Way
will automatically extract the name for the theme from the input TOML file. If the name is not found, it defaults to using the file name (without extension) as the theme name.
Feel free to open issues or submit pull requests if you have suggestions for improvements or encounter any bugs.
This project is licensed under the MIT License. See the LICENSE file for details.
.