this repo has no description
at main 39 lines 1.2 kB view raw
1-- Pull in the wezterm API 2local wezterm = require("wezterm") 3 4-- This will hold the configuration. 5local config = wezterm.config_builder() 6 7-- This is where you actually apply your config choices 8config.colors = { 9 foreground = "#CBE0F0", 10 background = "#011423", 11 cursor_bg = "#47FF9C", 12 cursor_border = "#47FF9C", 13 cursor_fg = "#011423", 14 selection_bg = "#033259", 15 selection_fg = "#CBE0F0", 16 ansi = { "#214969", "#E52E2E", "#44FFB1", "#FFE073", "#0FC5ED", "#a277ff", "#24EAF7", "#24EAF7" }, 17 brights = { "#214969", "#E52E2E", "#44FFB1", "#FFE073", "#A277FF", "#a277ff", "#24EAF7", "#24EAF7" }, 18} 19 20config.font = wezterm.font("Fira Code") 21config.font_size = 19 22 23-- fix option key 24config.keys = { 25 { key = "LeftArrow", mods = "OPT", action = wezterm.action({ SendString = "\x1bb" }) }, 26 { key = "RightArrow", mods = "OPT", action = wezterm.action({ SendString = "\x1bf" }) }, 27} 28 29config.selection_word_boundary = " \t\n{}[]():\"'" 30 31-- to taste 32 33config.enable_tab_bar = false 34config.window_decorations = "RESIZE" 35config.window_background_opacity = 0.75 36config.macos_window_background_blur = 10 37 38-- and finally, return the configuration to wezterm 39return config