Install the dependencies with:
sudo apt install -y cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
Create the config directory with
mkdir -p ~/.config/alacritty
Download Derek's config file with:
cd ~/.config/alacritty
curl -fLo alacritty.yml https://gitlab.com/dwt1/dotfiles/-/raw/master/.config/alacritty/alacritty.yml
At the time of writing (2021-08-03), Derek uses the Source Code Pro
font. Adjust the fonts in ~/.config.alacritty/alacritty.yml
depending on your local fonts.
Build the Alacritty binary with:
sudo apt install -y cargo
cargo install alacritty
Add /home/laurent/.cargo/bin
to your PATH with:
export PATH=$PATH:/home/laurent/.cargo/bin
and add this line to ~/.bashrc
to make the change permament.
Alternatively, copy the binary to /usr/local/bin
so dmenu
and xmobar
can see it:
sudo cp /home/laurent/.cargo/bin/alacritty /usr/local/bin/
Finally, run Alacritty with alacritty
from dmenu
or anywhere else.