Skip to content

Instantly share code, notes, and snippets.

@hnakamur
Last active July 10, 2023 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hnakamur/b9a730dc04d21b659d3b0c55a3cd61e3 to your computer and use it in GitHub Desktop.
Save hnakamur/b9a730dc04d21b659d3b0c55a3cd61e3 to your computer and use it in GitHub Desktop.
My wezterm config
local wezterm = require 'wezterm'
local mux = wezterm.mux
local config = {}
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- set startup Window position
-- https://github.com/wez/wezterm/issues/2976#issuecomment-1419492777
wezterm.on('gui-startup', function(cmd)
local tab, pane, window = mux.spawn_window(cmd or
{position={x=-6,y=-32}}
)
end)
config.default_domain = 'WSL:Ubuntu-22.04'
config.font = wezterm.font 'Cica'
config.font_size = 14.0
config.initial_cols = 190
config.initial_rows = 50
config.window_padding = {
left = 2,
right = 2,
top = 2,
bottom = 2,
}
config.audible_bell = 'Disabled'
config.visual_bell = {
fade_in_function = 'EaseIn',
fade_in_duration_ms = 150,
fade_out_function = 'EaseOut',
fade_out_duration_ms = 150,
}
config.colors = {
visual_bell = '#202020',
}
config.color_scheme = 'Adventure'
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment