mirror of
https://github.com/runyanjake/dotfiles.git
synced 2026-02-03 16:47:29 -08:00
Add Window configuration
This commit is contained in:
parent
2d37ddb0d0
commit
d76309c209
@ -3,28 +3,28 @@ A terminal that can handle a nerd font. Used alongside lazyvim.
|
||||
|
||||
## MacOS
|
||||
1. Download a release from `https://github.com/alacritty/alacritty/releases` or get it using Homebrew
|
||||
```
|
||||
```bash
|
||||
brew install --cask alacritty
|
||||
```
|
||||
2. Install a nerd font. This is just some one suggested online.
|
||||
```
|
||||
```bash
|
||||
brew install font-meslo-lg-nerd-font
|
||||
```
|
||||
3. Create an Alacritty config folder and link the alacritty config in this repo into there.
|
||||
```
|
||||
```bash
|
||||
mkdir -p ~/.config/alacritty
|
||||
ln -sfn /path/to/dotfiles/lazyvim/alacritty-macos.toml ~/.config/alacritty/alacritty.toml
|
||||
```
|
||||
|
||||
## Ubuntu
|
||||
1. Install Alacritty through a third-party PPA.
|
||||
```
|
||||
```bash
|
||||
sudo add-apt-repository ppa:aslatter/ppa
|
||||
sudo apt update
|
||||
sudo apt install alacritty
|
||||
```
|
||||
2. Install a nerd font (I am using "MesloLG Nerd Font" from `https://www.nerdfonts.com/font-downloads`)
|
||||
```
|
||||
```bash
|
||||
unzip Meslo.zip -d Meslo
|
||||
mkdir ~/.local/share/fonts
|
||||
cp Meslo/*.ttf ~/.local/share/fonts
|
||||
@ -32,7 +32,19 @@ fc-cache -fv
|
||||
rm -r Meslo Meslo.zip
|
||||
```
|
||||
3. Create an Alacritty config folder and link the alacritty config in this repo into there.
|
||||
```
|
||||
```bash
|
||||
mkdir -p ~/.config/alacritty
|
||||
ln -sfn /path/to/dotfiles/alacritty/alacritty-ubuntu.toml ~/.config/alacritty/alacritty.toml
|
||||
```
|
||||
|
||||
## Windows
|
||||
1. Install [Alacritty](https://alacritty.org/).
|
||||
2. Install a Nerd Font (
|
||||
Download nerd font of choice. I am using [MesoLG Nerd Font](https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/Meslo.zip).
|
||||
Right click and select "Install".
|
||||
3. Windows will not follow WSL symlinks, so you have to do it their way:
|
||||
```windows
|
||||
mkdir C:\Users\username\AppData\Roaming\alacritty
|
||||
New-Item -ItemType SymbolicLink -Path "C:\Users\YOURUSER\AppData\Roaming\alacritty\alacritty.toml" -Target "C:\path\to\dotfiles\alacritty\alacritty-windows.toml"
|
||||
```
|
||||
|
||||
|
||||
41
alacritty/alacritty-windows.toml
Normal file
41
alacritty/alacritty-windows.toml
Normal file
@ -0,0 +1,41 @@
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
[window]
|
||||
padding.x = 10
|
||||
padding.y = 10
|
||||
|
||||
opacity = 0.98
|
||||
blur = true
|
||||
|
||||
option_as_alt = "Both"
|
||||
|
||||
[font.normal]
|
||||
family = "JetBrainsMono NF"
|
||||
style = "Regular"
|
||||
|
||||
[colors.primary]
|
||||
background = "#0f111c"
|
||||
foreground = "#9094a7"
|
||||
|
||||
[colors.normal]
|
||||
black = "#1b1f32"
|
||||
red = "#627af4"
|
||||
green = "#67c9e4"
|
||||
yellow = "#99e9ff"
|
||||
blue = "#7289fd"
|
||||
magenta = "#67c9e4"
|
||||
cyan = "#8b9efd"
|
||||
white = "#9094a7"
|
||||
|
||||
[colors.bright]
|
||||
black = "#51587b"
|
||||
red = "#75d5f0"
|
||||
green = "#252a41"
|
||||
yellow = "#444b6f"
|
||||
blue = "#5e6587"
|
||||
magenta = "#c3cdfe"
|
||||
cyan = "#5cbcd6"
|
||||
white = "#9094a7"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user