-- Pull in the wezterm API local wezterm = require 'wezterm' local mux = wezterm.mux wezterm.on("gui-startup", function(cmd) local tab, pane, window = mux.spawn_window(cmd or {}) window:gui_window():maximize() end) local config = {} config.keys = { { key = 'n', mods = 'SHIFT|CTRL', action = wezterm.action.ToggleFullScreen, }, } config.enable_tab_bar = false -- config.window_decorations = "RESIZE" config.colors = { -- The default text color foreground = '#c6c6c6', -- The default background color background = 'black', -- Overrides the cell background color when the current cell is occupied by the -- cursor and the cursor style is set to Block cursor_bg = '#afd787', -- Overrides the text color when the current cell is occupied by the cursor cursor_fg = 'black', -- Specifies the border color of the cursor when the cursor style is set to Block, -- or the color of the vertical or horizontal bar when the cursor style is set to -- Bar or Underline. cursor_border = '#afd787', -- the foreground color of selected text selection_fg = 'black', -- the background color of selected text selection_bg = '#eeeeee', -- The color of the scrollbar "thumb"; the portion that represents the current viewport scrollbar_thumb = '#303030', -- The color of the split lines between panes split = '#303030', ansi = { '#000000', '#d75400', '#afd787', '#d7af5f', '#87afd7', '#87afd7', '#d7d7af', '#eeeeee', }, brights = { '#444444', '#d75400', '#afd787', '#d7af5f', '#87afd7', '#87afd7', '#d7d7af', '#eeeeee', }, -- Arbitrary colors of the palette in the range from 16 to 255 indexed = { [136] = '#d7af5f' }, -- Since: 20220319-142410-0fcdea07 -- When the IME, a dead key or a leader key are being processed and are effectively -- holding input pending the result of input composition, change the cursor -- to this color to give a visual cue about the compose state. compose_cursor = '#d7af5f', -- Colors for copy_mode and quick_select -- available since: 20220807-113146-c2fee766 -- In copy_mode, the color of the active text is: -- 1. copy_mode_active_highlight_* if additional text was selected using the mouse -- 2. selection_* otherwise copy_mode_active_highlight_bg = { Color = '#000000' }, -- use `AnsiColor` to specify one of the ansi color palette values -- (index 0-15) using one of the names "Black", "Maroon", "Green", -- "Olive", "Navy", "Purple", "Teal", "Silver", "Grey", "Red", "Lime", -- "Yellow", "Blue", "Fuchsia", "Aqua" or "White". copy_mode_active_highlight_fg = { Color = '#000000' }, copy_mode_inactive_highlight_bg = { Color = '#afd787' }, copy_mode_inactive_highlight_fg = { Color = '#eeeeee' }, quick_select_label_bg = { Color = '#444444' }, quick_select_label_fg = { Color = '#eeeeee' }, quick_select_match_bg = { Color = '#87afd7' }, quick_select_match_fg = { Color = '#eeeeee' }, } -- and finally, return the configuration to wezterm return config