batman nix
This commit is contained in:
117
home-modules/alacritty.nix
Normal file
117
home-modules/alacritty.nix
Normal file
@@ -0,0 +1,117 @@
|
||||
{config, ...}: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
env = {
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
|
||||
cursor = {
|
||||
style = "Beam";
|
||||
};
|
||||
|
||||
font = {
|
||||
normal.family = "JetBrainsMono Nerd Font";
|
||||
bold.family = "JetBrainsMono Nerd Font";
|
||||
italic.family = "JetBrainsMono Nerd Font";
|
||||
bold_italic.family = "JetBrainsMono Nerd Font";
|
||||
size = 16;
|
||||
};
|
||||
|
||||
general.live_config_reload = true;
|
||||
|
||||
mouse.hide_when_typing = true;
|
||||
|
||||
selection.save_to_clipboard = true;
|
||||
|
||||
window = {
|
||||
decorations = "none";
|
||||
opacity = 0.95;
|
||||
padding = {
|
||||
x = 2;
|
||||
y = 2;
|
||||
};
|
||||
};
|
||||
|
||||
# ROSE-PINE theme
|
||||
colors = {
|
||||
primary = {
|
||||
foreground = "#e0def4";
|
||||
background = "#191724";
|
||||
dim_foreground = "#908caa";
|
||||
bright_foreground = "#e0def4";
|
||||
};
|
||||
cursor = {
|
||||
text = "#e0def4";
|
||||
cursor = "#524f67";
|
||||
};
|
||||
vi_mode_cursor = {
|
||||
text = "#e0def4";
|
||||
cursor = "#524f67";
|
||||
};
|
||||
search = {
|
||||
matches = {
|
||||
foreground = "#908caa";
|
||||
background = "#26233a";
|
||||
};
|
||||
focused_match = {
|
||||
foreground = "#191724";
|
||||
background = "#ebbcba";
|
||||
};
|
||||
};
|
||||
hints = {
|
||||
start = {
|
||||
foreground = "#908caa";
|
||||
background = "#1f1d2e";
|
||||
};
|
||||
end = {
|
||||
foreground = "#6e6a86";
|
||||
background = "#1f1d2e";
|
||||
};
|
||||
};
|
||||
line_indicator = {
|
||||
foreground = "None";
|
||||
background = "None";
|
||||
};
|
||||
footer_bar = {
|
||||
foreground = "#e0def4";
|
||||
background = "#1f1d2e";
|
||||
};
|
||||
selection = {
|
||||
text = "#e0def4";
|
||||
background = "#403d52";
|
||||
};
|
||||
normal = {
|
||||
black = "#26233a";
|
||||
red = "#eb6f92";
|
||||
green = "#31748f";
|
||||
yellow = "#f6c177";
|
||||
blue = "#9ccfd8";
|
||||
magenta = "#c4a7e7";
|
||||
cyan = "#ebbcba";
|
||||
white = "#e0def4";
|
||||
};
|
||||
bright = {
|
||||
black = "#6e6a86";
|
||||
red = "#eb6f92";
|
||||
green = "#31748f";
|
||||
yellow = "#f6c177";
|
||||
blue = "#9ccfd8";
|
||||
magenta = "#c4a7e7";
|
||||
cyan = "#ebbcba";
|
||||
white = "#e0def4";
|
||||
};
|
||||
dim = {
|
||||
black = "#6e6a86";
|
||||
red = "#eb6f92";
|
||||
green = "#31748f";
|
||||
yellow = "#f6c177";
|
||||
blue = "#9ccfd8";
|
||||
magenta = "#c4a7e7";
|
||||
cyan = "#ebbcba";
|
||||
white = "#e0def4";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user