diff --git a/.config/alacritty/alacritty-dark.yml b/.config/alacritty/alacritty-dark.yml deleted file mode 100644 index 9237de0..0000000 --- a/.config/alacritty/alacritty-dark.yml +++ /dev/null @@ -1,73 +0,0 @@ -# Configuration for Alacritty, the GPU enhanced terminal emulator. - -env: - TERM: xterm-256color - -window: - padding: - x: 10 - y: 10 - -# Font configuration -font: - normal: - Default: - family: Fira Code - style: Regular - - bold: - family: Fira Code - - italic: - family: Fira Code - - bold_italic: - family: Fira Code - - size: 12.0 - -# Colors (iTerm 2 default theme) -colors: - # Default colors - primary: - background: '0x101421' - foreground: '0xfffbf6' - - # Normal colors - normal: - black: '0x2e2e2e' - red: '0xeb4129' - green: '0xabe047' - yellow: '0xf6c744' - blue: '0x47a0f3' - magenta: '0x7b5cb0' - cyan: '0x64dbed' - white: '0xe5e9f0' - - # Bright colors - bright: - black: '0x565656' - red: '0xec5357' - green: '0xc0e17d' - yellow: '0xf9da6a' - blue: '0x49a4f8' - magenta: '0xa47de9' - cyan: '0x99faf2' - white: '0xffffff' - -custom_cursor_colors: true - -background_opacity: 1 - -shell: - program: /bin/bash - args: - - -l - - -c - - "tmux" - - u - -key_bindings: - - { key: Home, mods: Control, action: ResetFontSize } - - { key: Plus, mods: Control, action: IncreaseFontSize } - - { key: Minus, mods: Control, action: DecreaseFontSize } diff --git a/.config/alacritty/alacritty-demo.yml b/.config/alacritty/alacritty-demo.yml deleted file mode 100644 index 209a024..0000000 --- a/.config/alacritty/alacritty-demo.yml +++ /dev/null @@ -1,75 +0,0 @@ -# Configuration for Alacritty, the GPU enhanced terminal emulator. - -env: - TERM: xterm-256color - -window: - padding: - x: 10 - y: 10 - -# Font configuration -font: - normal: - Default: - family: Fira Code - style: Regular - - bold: - family: Fira Code - - italic: - family: Fira Code - - bold_italic: - family: Fira - - size: 11.0 - -# Colors (Gruvbox light) -colors: - # Default colors - primary: - # hard contrast: background = '#f9f5d7' - background: '#fbf1c7' - # soft contrast: background = '#f2e5bc' - foreground: '#3c3836' - - # Normal colors - normal: - black: '#fbf1c7' - red: '#cc241d' - green: '#98971a' - yellow: '#d79921' - blue: '#458588' - magenta: '#b16286' - cyan: '#689d6a' - white: '#7c6f64' - - # Bright colors - bright: - black: '#928374' - red: '#9d0006' - green: '#79740e' - yellow: '#b57614' - blue: '#076678' - magenta: '#8f3f71' - cyan: '#427b58' - white: '#3c3836' - -custom_cursor_colors: true - -background_opacity: 1.0 - -shell: - program: /bin/bash - args: - - -l - - -c - - "tmux" - - u - -key_bindings: - - { key: Home, mods: Control, action: ResetFontSize } - - { key: Add, mods: Control, action: IncreaseFontSize } - - { key: Subtract, mods: Control, action: DecreaseFontSize } diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml deleted file mode 120000 index 4b90914..0000000 --- a/.config/alacritty/alacritty.yml +++ /dev/null @@ -1 +0,0 @@ -alacritty-dark.yml \ No newline at end of file diff --git a/.config/nixpkgs/home.nix b/.config/nixpkgs/home.nix index 51fa31c..a1a12f7 100644 --- a/.config/nixpkgs/home.nix +++ b/.config/nixpkgs/home.nix @@ -7,7 +7,6 @@ EDITOR = "vim"; }; packages = with pkgs; [ - alacritty asciinema audio-recorder bandwhich @@ -208,6 +207,66 @@ ]; }; + alacritty = { + enable = true; + settings = { + window.padding.x = 10; + window.padding.y = 10; + scrolling.history = 100000; + live_config_reload = true; + selection.save_to_clipboard = true; + mouse.hide_when_typing = true; + + font = { + normal.family = "Fira Code"; + size = 12; + }; + + shell = { + program = "zsh"; + args = [ + "-l" + "-c" + "tmux" + "u" + ]; + }; + + colors = { + primary.background = "0x101421"; + primary.foreground = "0xfffbf6"; + + normal = { + black = "0x2e2e2e"; + red = "0xeb4129"; + green = "0xabe047"; + yellow = "0xf6c744"; + blue = "0x47a0f3"; + magenta = "0x7b5cb0"; + cyan = "0x64dbed"; + white = "0xe5e9f0"; + }; + + bright = { + black = "0x565656"; + red = "0xec5357"; + green = "0xc0e17d"; + yellow = "0xf9da6a"; + blue = "0x49a4f8"; + magenta = "0xa47de9"; + cyan = "0x99faf2"; + white = "0xffffff"; + }; + + key_bindings = [ + { key = "Home"; mods = "Control"; action = "RecentFontSize"; } + { key = "Plus"; mods = "Control"; action = "IncreaseFontSize"; } + { key = "Minus"; mods = "Control"; action = "DecreaseFontSize"; } + ]; + }; + }; + }; + neovim = { enable = true; viAlias = true;