alacritty config + zsh fixes

This commit is contained in:
alina 🌸 2024-03-03 22:32:32 +03:00
parent 3f9ef8fed3
commit b797e21c6f
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI
3 changed files with 54 additions and 1 deletions

View file

@ -0,0 +1,49 @@
[font]
normal = { family = "IosevkaSS05 Nerd Font", style = "Light" }
size = 13
builtin_box_drawing = false
[window]
blur = true
opacity = 0.7
[cursor]
style.shape = "Beam"
style.blinking = "On"
[keyboard]
bindings = [
{ key = "Left", mods = "Option", "chars" = "\u001bb" },
{ key = "Right", mods = "Option", "chars" = "\u001bf" },
{ key = "Left", mods = "Command", "chars" = "\u0001" },
{ key = "Right", mods = "Command", "chars" = "\u0005" },
{ key = "Backspace", mods = "Option", "chars" = "\u001b\u007f" },
{ key = "Backspace", mods = "Command", "chars" = "\u0015" },
]
# Atom One Dark
[colors.primary]
background = '#000000'
foreground = '#cfd2d0'
# Normal colors
[colors.normal]
black = '#1e2127'
red = '#e06c75'
green = '#98c379'
yellow = '#d19a66'
blue = '#61afef'
magenta = '#c678dd'
cyan = '#56b6c2'
white = '#abb2bf'
# Bright colors
[colors.bright]
black = '#5c6370'
red = '#e06c75'
green = '#98c379'
yellow = '#d19a66'
blue = '#61afef'
magenta = '#c678dd'
cyan = '#56b6c2'
white = '#ffffff'

View file

@ -28,5 +28,7 @@
curl curl
android-tools android-tools
]; ];
home.file.".config/alacritty/alacritty.toml".source = ./alacritty.toml;
}; };
} }

View file

@ -33,7 +33,7 @@ let
style = "bg:#33658A"; style = "bg:#33658A";
format = "[ $path ]($style)"; format = "[ $path ]($style)";
truncation_length = 3; truncation_length = 3;
truncation_symbol = "/"; truncation_symbol = " /";
}; };
git_branch = { git_branch = {
@ -75,6 +75,8 @@ in {
shellAliases = { shellAliases = {
"rm" = "rm -f"; "rm" = "rm -f";
"entervenv" = "source venv/bin/activate"; "entervenv" = "source venv/bin/activate";
"ls" = "ls --color=auto";
"ll" = "ls -l --color=auto";
} // lib.optionalAttrs (pkgs.stdenv.isLinux) { } // lib.optionalAttrs (pkgs.stdenv.isLinux) {
"systemctl" = "sudo systemctl"; "systemctl" = "sudo systemctl";
}; };