Prepare for easy swapping of alacritty font and theme
This commit is contained in:
parent
3f6dcf760f
commit
17e19847d5
@ -1,8 +1,4 @@
|
|||||||
import = [
|
import = [ "~/.config/alacritty/theme.toml", "~/.config/alacritty/font.toml", "~/.local/share/omakub/defaults/alacritty.toml" ]
|
||||||
"~/.local/share/omakub/defaults/alacritty.toml",
|
|
||||||
"~/.local/share/omakub/themes/alacritty/tokyo-night.toml"
|
|
||||||
]
|
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal = { family = "CaskaydiaMono Nerd Font", style = "Regular" }
|
|
||||||
size = 7
|
size = 7
|
||||||
|
2
configs/alacritty/font.toml
Normal file
2
configs/alacritty/font.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Leave this file as-is to allow omakub to swap fonts system wide
|
||||||
|
import = [ "~/.local/share/omakub/fonts/alacritty/cascadia-mono.toml" ]
|
2
configs/alacritty/theme.toml
Normal file
2
configs/alacritty/theme.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Leave this file as-is to allow omakub to swap themes system wide
|
||||||
|
import = [ "~/.local/share/omakub/themes/alacritty/tokyo-night.toml" ]
|
4
fonts/alacritty/cascadia-mono.toml
Normal file
4
fonts/alacritty/cascadia-mono.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[font]
|
||||||
|
normal = { family = "CaskaydiaMono Nerd Font", style = "Regular" }
|
||||||
|
bold = { family = "CaskaydiaMono Nerd Font", style = "Bold" }
|
||||||
|
italic = { family = "CaskaydiaMono Nerd Font", style = "Italic" }
|
4
fonts/alacritty/fira-mono.toml
Normal file
4
fonts/alacritty/fira-mono.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[font]
|
||||||
|
normal = { family = "FiraMono Nerd Font", style = "Regular" }
|
||||||
|
bold = { family = "FiraMono Nerd Font", style = "Bold" }
|
||||||
|
italic = { family = "FiraMono Nerd Font", style = "Italic" }
|
@ -2,4 +2,6 @@ if ! command -v alacritty &>/dev/null; then
|
|||||||
sudo apt install -y alacritty
|
sudo apt install -y alacritty
|
||||||
mkdir -p ~/.config/alacritty
|
mkdir -p ~/.config/alacritty
|
||||||
cp ~/.local/share/omakub/configs/alacritty.toml ~/.config/alacritty/alacritty.toml
|
cp ~/.local/share/omakub/configs/alacritty.toml ~/.config/alacritty/alacritty.toml
|
||||||
|
cp ~/.local/share/omakub/configs/alacritty/theme.toml ~/.config/alacritty/theme.toml
|
||||||
|
cp ~/.local/share/omakub/configs/alacritty/font.toml ~/.config/alacritty/font.toml
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user