alacritty-use-theme
Small utility to switch the selected theme used by alacritty terminal.
Install
yay -S alacritty-use-theme-git- Source the script by adding this to your .bashrc
[[ -f /usr/bin/alacritty-use-theme/use-theme.sh ]] && source /usr/bin/alacritty-use-theme/use-theme.sh - Add themes to the "themes" directory
$HOME/.config/alacritty/themes/<theme> - Import the selected theme
[general]
import = ["themes/selected.toml"]
Usage
alacritty-use-theme will attempt to switch the theme to one that is installed. If the theme cannot be found alacritty-use-theme will use its default theme "tomorrow-night"
alacritty-use-theme # Will use alacritty's default theme.
alacritty-use-theme XTerm # uses a theme installed in ~/.config/alacritty/themes/<themeName>
alacritty-use-theme day # uses an alias for an installed theme.
Aliases
Creating aliases
- Create an aliases file inside of your alacritty configuration
touch $HOME/.config/alacritty/themes/alaises.toml
# aliases.toml
[aliases]
day = "pencil-light"
night = "default" # will use the default theme in alacritty
Pinned Comments
christophermca commented on 2026-01-06 21:24 (UTC) (edited on 2026-01-10 02:14 (UTC) by christophermca)
alacritty-use-theme
Small utility to switch the selected theme used by alacritty terminal.
Install
yay -S alacritty-use-theme-git[[ -f /usr/bin/alacritty-use-theme/use-theme.sh ]] && source /usr/bin/alacritty-use-theme/use-theme.sh$HOME/.config/alacritty/themes/<theme>Usage
alacritty-use-theme will attempt to switch the theme to one that is installed. If the theme cannot be found alacritty-use-theme will use its default theme "tomorrow-night"
Aliases
Creating aliases
touch $HOME/.config/alacritty/themes/alaises.toml