diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index 3c4aa02..d8e8650 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -12,7 +12,7 @@ config.default_cursor_style = "BlinkingBlock" config.cursor_blink_rate = 0 config.font = wezterm.font("FiraCode Nerd Font", { weight = 450, stretch = "Normal", style = "Normal" }) config.font_size = 14 -config.window_background_opacity = .9 +config.window_background_opacity = 1 config.background = { { source = { @@ -20,7 +20,7 @@ config.background = { }, width = "100%", height = "100%", - opacity = 0.90, + opacity = .95, } } @@ -33,14 +33,18 @@ config.window_padding = { - --- Colorscheme -local file = io.open(wezterm.config_dir .. "/colorscheme", "r") -if file then - config.color_scheme = file:read("*a") - file:close() -else - config.color_scheme = 'Catppuccin Mocha' +local function load_neovim_colorscheme() + -- Colorscheme + local file = io.open(wezterm.config_dir .. "/colorscheme", "r") + if file then + config.color_scheme = file:read("*a") + file:close() + else + config.color_scheme = 'Catppuccin Mocha' + end end + +load_neovim_colorscheme() + return config