In this post, we are going to take a look at the changes made in the latest release 3.0 of alacritty-themes. If you want to take a look at the launch blog post for alacritty-themes, you can find it here.
npm i -g alacritty-themes
yarn add --global alacritty-themes
pnpm add --global alacritty-themes
If you are using
npx you don't have to install the package:
This release features one of the most asked functionalities called the Live Previews, which allows us to preview a particular theme before applying it. You can scroll up and down using the arrow keys and the theme will be automatically previewed inside the terminal window. Once you are happy with a theme, you can press
Enter to apply them or
Ctrl-C to cancel.
With the new release you can directly apply a theme if you know the theme name without going through all the hassle of searching for the themes using the command line option.
The tool requires a config file to be present in your
$HOME directory called
alacritty.yml. Usually it will be somewhere like
~/.config/alacritty/alacritty.yml. If you don't have one, you can now create it using the cli by using the
-c option with the cli to do the same.
We have replaced inquirer with prompts as the command-line prompt in this release. prompts is a lightweight, beautiful and user-friendly interactive prompts library for your cli programs. It has got a lot of inbuilt prompt types for autocomplete, multiselect and so on.
So what are you waiting for, go install alacritty, give alacritty-themes a try and spice up your terminal. I am pretty sure, once you started using alacritty as your terminal, you won't go back for anything else. Please let us know your feedback/queries in the comments section.