{ flake, ...}: with flake.self.theme.with0x; { 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"; }; size = 16.0; offset = { x = 0; y = 0; }; glyph_offset = { x = 0; y = 0; }; }; keyboard.bindings = [ { 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"; } ]; # Base16 Burn 256 - alacritty color config # Benjamin Bädorf colors = { # When true, bold text is drawn using the bright variant of colors. draw_bold_text_with_bright_colors = true; # Default colors primary = { background = base00; foreground = base05; }; # 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. cursor = { text = "CellBackground"; cursor = "CellForeground"; }; # 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 = { foreground = base0A; background = base00; }; focused_match = { foreground = "CellBackground"; background = "CellForeground"; }; #bar = # background = "#c5c8c6"; # foreground = "#1d1f21"; }; # 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 = { text = base00; background = base08; }; # Normal colors normal = { black = base00; red = base08; green = base09; yellow = base0A; blue = base0D; magenta = base0E; cyan = base0C; white = base05; }; # Bright colors bright = { black = base00; red = base08; green = base09; yellow = base0A; blue = base0D; magenta = base0E; cyan = base0C; white = base07; }; indexed_colors = [ { index = 16; color = base09; } { index = 17; color = base0F; } { index = 18; color = base01; } { index = 19; color = base02; } { index = 20; color = base04; } { index = 21; color = base02; } ]; }; }