mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 00:58:16 +00:00
nix: replace alacritty yml with nix
This commit is contained in:
@@ -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 }
|
@@ -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 }
|
@@ -1 +0,0 @@
|
||||
alacritty-dark.yml
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user