Last active
July 10, 2023 20:08
-
-
Save hnakamur/b9a730dc04d21b659d3b0c55a3cd61e3 to your computer and use it in GitHub Desktop.
My wezterm config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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