mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
configured alacritty in nix
the generated yaml is unreadable btw lol
This commit is contained in:
parent
dc07fe9036
commit
20171bae38
|
@ -1,66 +0,0 @@
|
|||
env:
|
||||
TERM: xterm-256color
|
||||
font:
|
||||
size: 8
|
||||
# normal:
|
||||
# family: SourceCodePro
|
||||
|
||||
shell:
|
||||
program: '/etc/profiles/per-user/rouven/bin/zsh'
|
||||
|
||||
window:
|
||||
opacity: 0.7
|
||||
|
||||
colors:
|
||||
primary:
|
||||
background: '0x282a36'
|
||||
foreground: '0xf8f8f2'
|
||||
cursor:
|
||||
text: CellBackground
|
||||
cursor: CellForeground
|
||||
vi_mode_cursor:
|
||||
text: CellBackground
|
||||
cursor: CellForeground
|
||||
search:
|
||||
matches:
|
||||
foreground: '0x44475a'
|
||||
background: '0x50fa7b'
|
||||
focused_match:
|
||||
foreground: '0x44475a'
|
||||
background: '0xffb86c'
|
||||
footer_bar:
|
||||
background: '0x282a36'
|
||||
foreground: '0xf8f8f2'
|
||||
line_indicator:
|
||||
foreground: None
|
||||
background: None
|
||||
selection:
|
||||
text: CellForeground
|
||||
background: '0x44475a'
|
||||
normal:
|
||||
black: '0x21222c'
|
||||
red: '0xff5555'
|
||||
green: '0x50fa7b'
|
||||
yellow: '0xf1fa8c'
|
||||
blue: '0xbd93f9'
|
||||
magenta: '0xff79c6'
|
||||
cyan: '0x8be9fd'
|
||||
white: '0xbfbfbf'
|
||||
bright:
|
||||
black: '0x4d4d4d'
|
||||
red: '0xff6e67'
|
||||
green: '0x5af78e'
|
||||
yellow: '0xf4f99d'
|
||||
blue: '0xcaa9fa'
|
||||
magenta: '0xff92d0'
|
||||
cyan: '0x9aedfe'
|
||||
white: '0xe6e6e6'
|
||||
dim:
|
||||
black: '0x14151b'
|
||||
red: '0xff2222'
|
||||
green: '0x1ef956'
|
||||
yellow: '0xebf85b'
|
||||
blue: '0x4d5b86'
|
||||
magenta: '0xff46b0'
|
||||
cyan: '0x59dffc'
|
||||
white: '0xe6e6d1'
|
|
@ -1,5 +1,83 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ alacritty ];
|
||||
xdg.configFile."alacritty/alacritty.yml".source = ./alacritty.yml;
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
env = {
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
font = {
|
||||
size = 8;
|
||||
};
|
||||
shell.program = "${pkgs.zsh}/bin/zsh";
|
||||
window.opacity = 0.7;
|
||||
|
||||
colors = {
|
||||
primary = {
|
||||
background = "#282a36";
|
||||
foreground = "#f8f8f2";
|
||||
};
|
||||
cursor = {
|
||||
text = "CellBackground";
|
||||
cursor = "CellForeground";
|
||||
};
|
||||
vi_mode_cursor = {
|
||||
text = "CellBackground";
|
||||
cursor = "CellForeground";
|
||||
};
|
||||
search = {
|
||||
matches = {
|
||||
foreground = "#44475a";
|
||||
background = "#50fa7b";
|
||||
};
|
||||
focused_match = {
|
||||
foreground = "#44475a";
|
||||
background = "#ffb86c";
|
||||
};
|
||||
footer_bar = {
|
||||
background = "#282a36";
|
||||
foreground = "#f8f8f2";
|
||||
};
|
||||
};
|
||||
line_indicator = {
|
||||
foreground = null;
|
||||
background = null;
|
||||
};
|
||||
selection = {
|
||||
text = "CellForeground";
|
||||
background = "#44475a";
|
||||
};
|
||||
normal = {
|
||||
black = "#21222c";
|
||||
red = "#ff5555";
|
||||
green = "#50fa7b";
|
||||
yellow = "#f1fa8c";
|
||||
blue = "#bd93f9";
|
||||
magenta = "#ff79c6";
|
||||
cyan = "#8be9fd";
|
||||
white = "#bfbfbf";
|
||||
};
|
||||
bright = {
|
||||
black = "#4d4d4d";
|
||||
red = "#ff6e67";
|
||||
green = "#5af78e";
|
||||
yellow = "#f4f99d";
|
||||
blue = "#caa9fa";
|
||||
magenta = "#ff92d0";
|
||||
cyan = "#9aedfe";
|
||||
white = "#e6e6e6";
|
||||
};
|
||||
dim = {
|
||||
black = "#14151b";
|
||||
red = "#ff2222";
|
||||
green = "#1ef956";
|
||||
yellow = "#ebf85b";
|
||||
blue = "#4d5b86";
|
||||
magenta = "#ff46b0";
|
||||
cyan = "#59dffc";
|
||||
white = "#e6e6d1";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue