2024-09-04 20:28:41 +00:00
|
|
|
{ flake, ...}: with flake.self.theme.with0x; {
|
2021-05-30 19:10:28 +00:00
|
|
|
env = {
|
|
|
|
TERM = "xterm-256color";
|
|
|
|
};
|
|
|
|
|
|
|
|
window = {
|
|
|
|
# Window dimensions in character columns and lines
|
|
|
|
# Falls back to size specified by window manager if set to 0x0.
|
|
|
|
# (changes require restart)
|
|
|
|
dimensions = {
|
|
|
|
columns = 80;
|
|
|
|
lines = 24;
|
|
|
|
};
|
|
|
|
|
|
|
|
padding = {
|
|
|
|
x = 0;
|
|
|
|
y = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
decorations = "full";
|
|
|
|
};
|
|
|
|
|
|
|
|
scrolling = {
|
|
|
|
# How many lines of scrollback to keep,
|
|
|
|
# "0" will disable scrolling.
|
|
|
|
history = 100000;
|
|
|
|
|
|
|
|
# Number of lines the viewport will move for every line
|
|
|
|
# scrolled when scrollback is enabled (history > 0).
|
|
|
|
multiplier = 3;
|
|
|
|
};
|
|
|
|
|
|
|
|
font = {
|
|
|
|
# The normal (roman) font face to use.
|
|
|
|
normal = {
|
|
|
|
family = "Hack"; # should be "Menlo" or something on macOS.
|
|
|
|
# Style can be specified to pick a specific face.
|
|
|
|
style = "Regular";
|
|
|
|
};
|
|
|
|
|
|
|
|
# The bold font face
|
|
|
|
bold = {
|
|
|
|
family = "Hack"; # should be "Menlo" or something on macOS.
|
|
|
|
# Style can be specified to pick a specific face.
|
|
|
|
style = "Bold";
|
|
|
|
};
|
|
|
|
|
|
|
|
# The italic font face
|
|
|
|
italic = {
|
|
|
|
family = "Hack"; # should be "Menlo" or something on macOS.
|
|
|
|
# Style can be specified to pick a specific face.
|
|
|
|
style = "Italic";
|
|
|
|
};
|
|
|
|
|
2021-11-29 18:06:10 +00:00
|
|
|
size = 16.0;
|
2021-05-30 19:10:28 +00:00
|
|
|
|
|
|
|
offset = {
|
|
|
|
x = 0;
|
|
|
|
y = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
glyph_offset = {
|
|
|
|
x = 0;
|
|
|
|
y = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-06-03 10:30:14 +00:00
|
|
|
keyboard.bindings = [
|
2022-11-22 11:32:54 +00:00
|
|
|
{
|
|
|
|
key = "V";
|
|
|
|
mods = "Control|Alt";
|
|
|
|
action = "Paste";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "C";
|
|
|
|
mods = "Control|Alt";
|
|
|
|
action = "Copy";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "Paste";
|
|
|
|
action = "Paste";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "Copy";
|
|
|
|
action = "Copy";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "Q";
|
|
|
|
mods = "Command";
|
|
|
|
action = "Quit";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "W";
|
|
|
|
mods = "Command";
|
|
|
|
action = "Quit";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "Insert";
|
|
|
|
mods = "Shift";
|
|
|
|
action = "PasteSelection";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "Key0";
|
|
|
|
mods = "Control";
|
|
|
|
action = "ResetFontSize";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "Equals";
|
|
|
|
mods = "Control";
|
|
|
|
action = "IncreaseFontSize";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "PageUp";
|
|
|
|
mods = "Shift";
|
|
|
|
action = "ScrollPageUp";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "PageDown";
|
|
|
|
mods = "Shift";
|
|
|
|
action = "ScrollPageDown";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "Minus";
|
|
|
|
mods = "Control";
|
|
|
|
action = "DecreaseFontSize";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "H";
|
|
|
|
mode = "Vi|~Search";
|
|
|
|
action = "ScrollToBottom";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "H";
|
|
|
|
mode = "Vi|~Search";
|
|
|
|
action = "ToggleViMode";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "I";
|
|
|
|
mode = "Vi|~Search";
|
|
|
|
action = "Up";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "K";
|
|
|
|
mode = "Vi|~Search";
|
|
|
|
action = "Down";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "J";
|
|
|
|
mode = "Vi|~Search";
|
|
|
|
action = "Left";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "L";
|
|
|
|
mode = "Vi|~Search";
|
|
|
|
action = "Right";
|
|
|
|
}
|
2021-05-30 19:10:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Base16 Burn 256 - alacritty color config
|
|
|
|
# Benjamin Bädorf
|
|
|
|
colors = {
|
2024-08-18 22:22:59 +00:00
|
|
|
# When true, bold text is drawn using the bright variant of colors.
|
|
|
|
draw_bold_text_with_bright_colors = true;
|
2024-06-03 10:30:14 +00:00
|
|
|
|
2021-05-30 19:10:28 +00:00
|
|
|
# Default colors
|
|
|
|
primary = {
|
2024-09-04 20:28:41 +00:00
|
|
|
background = base00;
|
|
|
|
foreground = base05;
|
2021-05-30 19:10:28 +00:00
|
|
|
};
|
|
|
|
|
2022-10-03 02:11:16 +00:00
|
|
|
# Cursor colors
|
|
|
|
#
|
|
|
|
# Colors which should be used to draw the terminal cursor.
|
|
|
|
#
|
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
2021-05-30 19:10:28 +00:00
|
|
|
cursor = {
|
2022-10-03 02:11:16 +00:00
|
|
|
text = "CellBackground";
|
|
|
|
cursor = "CellForeground";
|
2021-05-30 19:10:28 +00:00
|
|
|
};
|
|
|
|
|
2022-02-22 15:49:46 +00:00
|
|
|
# Colors used for the search bar and match highlighting.
|
|
|
|
search = {
|
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
|
|
matches = {
|
2024-09-04 20:28:41 +00:00
|
|
|
foreground = base0A;
|
|
|
|
background = base00;
|
2022-02-22 15:49:46 +00:00
|
|
|
};
|
|
|
|
focused_match = {
|
2022-10-03 02:11:16 +00:00
|
|
|
foreground = "CellBackground";
|
|
|
|
background = "CellForeground";
|
2022-02-22 15:49:46 +00:00
|
|
|
};
|
|
|
|
#bar =
|
|
|
|
# background = "#c5c8c6";
|
|
|
|
# foreground = "#1d1f21";
|
|
|
|
};
|
|
|
|
|
2022-10-03 02:11:16 +00:00
|
|
|
# Selection colors
|
|
|
|
#
|
|
|
|
# Colors which should be used to draw the selection area.
|
|
|
|
#
|
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
|
|
selection = {
|
2024-09-04 20:28:41 +00:00
|
|
|
text = base00;
|
|
|
|
background = base08;
|
2022-10-03 02:11:16 +00:00
|
|
|
};
|
|
|
|
|
2021-05-30 19:10:28 +00:00
|
|
|
# Normal colors
|
|
|
|
normal = {
|
2024-09-04 20:28:41 +00:00
|
|
|
black = base00;
|
|
|
|
red = base08;
|
|
|
|
green = base09;
|
|
|
|
yellow = base0A;
|
|
|
|
blue = base0D;
|
|
|
|
magenta = base0E;
|
|
|
|
cyan = base0C;
|
|
|
|
white = base05;
|
2021-05-30 19:10:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Bright colors
|
|
|
|
bright = {
|
2024-09-04 20:28:41 +00:00
|
|
|
black = base00;
|
|
|
|
red = base08;
|
|
|
|
green = base09;
|
|
|
|
yellow = base0A;
|
|
|
|
blue = base0D;
|
|
|
|
magenta = base0E;
|
|
|
|
cyan = base0C;
|
|
|
|
white = base07;
|
2021-05-30 19:10:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
indexed_colors = [
|
2022-11-22 11:32:54 +00:00
|
|
|
{
|
|
|
|
index = 16;
|
2024-09-04 20:28:41 +00:00
|
|
|
color = base09;
|
2022-11-22 11:32:54 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
index = 17;
|
2024-09-04 20:28:41 +00:00
|
|
|
color = base0F;
|
2022-11-22 11:32:54 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
index = 18;
|
2024-09-04 20:28:41 +00:00
|
|
|
color = base01;
|
2022-11-22 11:32:54 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
index = 19;
|
2024-09-04 20:28:41 +00:00
|
|
|
color = base02;
|
2022-11-22 11:32:54 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
index = 20;
|
2024-09-04 20:28:41 +00:00
|
|
|
color = base04;
|
2022-11-22 11:32:54 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
index = 21;
|
2024-09-04 20:28:41 +00:00
|
|
|
color = base02;
|
2022-11-22 11:32:54 +00:00
|
|
|
}
|
2021-05-30 19:10:28 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|