Alacritty config

This commit is contained in:
Cyryl Płotnicki 2019-06-30 17:21:25 +01:00
parent 537b5f0bb2
commit 3f26adb8b8
2 changed files with 64 additions and 3 deletions

View file

@ -3,6 +3,7 @@
{ {
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
zsh = { zsh = {
enable = true; enable = true;
history = { history = {
@ -33,9 +34,71 @@
sessionVariables = { TERM="xterm-256color"; EDITOR="vim"; VISUAL="vim"; PAGER="less"; }; sessionVariables = { TERM="xterm-256color"; EDITOR="vim"; VISUAL="vim"; PAGER="less"; };
shellAliases = { tmate = "tmux detach-client -E 'tmate;tmux'"; }; shellAliases = { tmate = "tmux detach-client -E 'tmate;tmux'"; };
}; };
alacritty = {
enable = true;
settings = {
window.decorations = "none";
window.startup_mode = "Fullscreen";
scrolling = {
history = 32000;
multiplier = 3;
faux_multiplier = 3;
auto_scroll = false;
};
tabspaces = 4;
font = {
family = "DejaVu Sans Mono for Powerline";
size = 12.0;
};
draw_bold_text_with_bright_colors = true;
colors = {
primary = {
background= "0x002b36";
foreground= "0x839496";
};
normal = {
black= "0x073642";
red= "0xdc322f";
green= "0x859900";
yellow= "0xb58900";
blue= "0x268bd2";
magenta= "0xd33682";
cyan= "0x2aa198";
white= "0xeee8d5";
};
bright = {
black= "0x002b36";
red= "0xcb4b16";
green= "0x586e75";
yellow= "0x657b83";
blue= "0x839496";
magenta= "0x6c71c4";
cyan= "0x93a1a1";
white= "0xfdf6e3";
};
background_opacity= 1.0;
dynamic_title= true;
};
cursor= {
style = "Block";
unfocused_hollow= true;
};
live_config_reload= true;
};
};
firefox.enable = true; firefox.enable = true;
chromium.enable = true; chromium.enable = true;
alacritty.enable = true;
go.enable = true; go.enable = true;
bat.enable = true; bat.enable = true;
}; };

View file

@ -48,8 +48,6 @@ ln -vfs "$DIR/tools" ~/
mkdir -vp ~/.config/terminator mkdir -vp ~/.config/terminator
rm -f ~/.config/terminator/config rm -f ~/.config/terminator/config
ln "$DIR/.config/terminator/config" ~/.config/terminator/config ln "$DIR/.config/terminator/config" ~/.config/terminator/config
mkdir -vp "$HOME/.config/alacritty/"
ln -vfs "$DIR/.alacritty.yml" "$HOME/.config/alacritty/alacritty.yml"
mkdir -p ~/.cargo/ mkdir -p ~/.cargo/
echo "all links done" echo "all links done"