From b797e21c6fa8566d9c6cb6bd691f686841535332 Mon Sep 17 00:00:00 2001 From: Alina Sireneva Date: Sun, 3 Mar 2024 22:32:32 +0300 Subject: [PATCH] alacritty config + zsh fixes --- users/teidesu/alacritty.toml | 49 ++++++++++++++++++++++++++++++++++++ users/teidesu/darwin.nix | 2 ++ users/teidesu/zsh.nix | 4 ++- 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 users/teidesu/alacritty.toml diff --git a/users/teidesu/alacritty.toml b/users/teidesu/alacritty.toml new file mode 100644 index 0000000..609d461 --- /dev/null +++ b/users/teidesu/alacritty.toml @@ -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' \ No newline at end of file diff --git a/users/teidesu/darwin.nix b/users/teidesu/darwin.nix index ed3b500..5ec72a4 100644 --- a/users/teidesu/darwin.nix +++ b/users/teidesu/darwin.nix @@ -28,5 +28,7 @@ curl android-tools ]; + + home.file.".config/alacritty/alacritty.toml".source = ./alacritty.toml; }; } \ No newline at end of file diff --git a/users/teidesu/zsh.nix b/users/teidesu/zsh.nix index c2bcd0b..2350158 100644 --- a/users/teidesu/zsh.nix +++ b/users/teidesu/zsh.nix @@ -33,7 +33,7 @@ let style = "bg:#33658A"; format = "[ $path ]($style)"; truncation_length = 3; - truncation_symbol = "…/"; + truncation_symbol = "… /"; }; git_branch = { @@ -75,6 +75,8 @@ in { shellAliases = { "rm" = "rm -f"; "entervenv" = "source venv/bin/activate"; + "ls" = "ls --color=auto"; + "ll" = "ls -l --color=auto"; } // lib.optionalAttrs (pkgs.stdenv.isLinux) { "systemctl" = "sudo systemctl"; };