CLI utility for Alacritty color theme switching
MIT License
Atty
is a cli
utility for Alacritty color theme switching.
[!NOTE] This hasn't been tested on Windows and OS X yet. There'll probably be issues with default settings, as it's looking for the
$HOME/.config/alacritty
folder, but after setting the--config
and--theme_dir
flags, it should work just fine.
The recommended way to get atty is to install the latest stable release:
pip install atty --user
or using pipx:
pipx install atty
The default themes folder is in $HOME/.config/alacritty/themes/
.
Example:
.
├── alacritty
│ ├── alacritty.yml
│ └── themes
[!TIP] You can get the oficial themes repository of
alacritty
here.
Next, run atty
and select you favority theme:
atty
Up and Down keys: navegate on themes list
Left and Right keys: switch page
ESC key: abort
Select Color:
> Cobalt2
Mariana
afterglow
alabaster
alabaster_dark
argonaut
atom_one_light
ayu_dark
ayu_light
baitong
Page 1/11
(enter to confirm)
The utility can be configured by passing additional flags/parameters:
aty --help
Usage: atty [OPTIONS]
CLI for Alacritty color theme and configuration switching.
By default, atty will look for the alacritty's configuration file in
"$HOME/.config/alacritty/alacritty.toml", for the theme files in
"$HOME/.config/alacritty/themes" folder.
Options:
--version Show the version and exit.
-c, --config TEXT Absolute path of Alacritty configuration file
-d, --theme_dir TEXT Absolute path of themes folder
-t, --theme TEXT Select a theme by name instead of showing prompt.
-h, --help Show this message and exit.
See this guideline here.