Skip to content

Instantly share code, notes, and snippets.

@Santiael
Last active May 31, 2025 19:39
Show Gist options
  • Save Santiael/248bf75c0e5572bcf336cf30a6d26aa2 to your computer and use it in GitHub Desktop.
Save Santiael/248bf75c0e5572bcf336cf30a6d26aa2 to your computer and use it in GitHub Desktop.
local wezterm = require "wezterm"
local target = wezterm.target_triple:lower()
local config = {}
config.font = wezterm.font("JetBrains Mono")
config.font_size = 14.0
config.tab_bar_at_bottom = true
config.hide_tab_bar_if_only_one_tab = true
config.window_decorations = "RESIZE"
config.use_fancy_tab_bar = false
config.default_cursor_style = "BlinkingBlock"
config.window_background_image = os.getenv("HOME") ..
"/Shared/images/backgrounds/e5d167020de7c04c8683d2782710cefd3edb43c0r1.gif"
config.window_background_opacity = 0.9
config.window_background_image_hsb = {
brightness = 0.2,
saturation = 0.95
}
if target:find("darwin") then -- macOS config
config.max_fps = 120
config.prefer_egl = true
config.macos_window_background_blur = 30
config.window_background_opacity = 0.8
config.window_background_image_hsb = {
brightness = 0.2
}
end
config.text_background_opacity = 0.8
config.window_frame = {
border_left_width = '2px',
border_right_width = '2px',
border_bottom_height = '2px',
border_top_height = '2px',
}
config.color_scheme = 'Nebula'
config.color_schemes = {
['Nebula'] = {
background = "#27273a",
foreground = "#f6f0ff",
cursor_bg = "#97ee91",
cursor_fg = "#27273a",
cursor_border = "#97ee91",
selection_bg = "rgba(66, 85, 123, 0.5)",
selection_fg = "#f6f0ff",
ansi = {
"#353551",
"#e34f8c",
"#97f36d",
"#f8c275",
"#c7adfb",
"#e752a1",
"#24e8d8",
"#fbd3e1"
},
brights = {
"#919cb9",
"#f36f98",
"#affa90",
"#fafaa0",
"#74d6e9",
"#f799c7",
"#8df9f9",
"#d7d6dF"
},
tab_bar = {
background = "#1f2330",
active_tab = {
bg_color = "#27273a",
fg_color = "#24e8d8",
intensity = "Bold",
},
inactive_tab = {
bg_color = "#1f2330",
fg_color = "#919cb9",
},
inactive_tab_hover = {
bg_color = "#27273a",
fg_color = "#e34f8c",
underline = "Single",
},
new_tab = {
bg_color = '#e34f8c',
fg_color = '#f6f0ff',
},
new_tab_hover = {
bg_color = '#f661b1',
fg_color = '#f6f0ff'
}
},
}
}
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment