alacritty/
alacritty.rs

1use apputils::config::Cfg;
2use apputils::Colors;
3use apputils::paintln;
4
5fn main() {
6	paintln!(Colors::Rgb(42, 164, 69), "Attempting to read alacritty config file...");
7	match Cfg::read("alacritty", "alacritty.toml") {
8		Ok(data) => println!("Your alacritty config:\n{}", data),
9		Err(_) => paintln!(Colors::Red, "You don't seem to have an alacritty config!"),
10	}
11
12	paintln!(Colors::Rgb(129, 69, 231), "But does your terminal support TrueColor?");
13	paintln!(Colors::RgbBold(129, 69, 231), "And does it support Bold Colors???");
14}