mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-02-28 11:40:37 +00:00
style(wezterm.lua): update window background opacity to 1 for full opacity
style(wezterm.lua): adjust background opacity to .95 for better visual appearance refactor(wezterm.lua): extract colorscheme loading logic into a separate function for better readability and maintainability
This commit is contained in:
@@ -12,7 +12,7 @@ config.default_cursor_style = "BlinkingBlock"
|
|||||||
config.cursor_blink_rate = 0
|
config.cursor_blink_rate = 0
|
||||||
config.font = wezterm.font("FiraCode Nerd Font", { weight = 450, stretch = "Normal", style = "Normal" })
|
config.font = wezterm.font("FiraCode Nerd Font", { weight = 450, stretch = "Normal", style = "Normal" })
|
||||||
config.font_size = 14
|
config.font_size = 14
|
||||||
config.window_background_opacity = .9
|
config.window_background_opacity = 1
|
||||||
config.background = {
|
config.background = {
|
||||||
{
|
{
|
||||||
source = {
|
source = {
|
||||||
@@ -20,7 +20,7 @@ config.background = {
|
|||||||
},
|
},
|
||||||
width = "100%",
|
width = "100%",
|
||||||
height = "100%",
|
height = "100%",
|
||||||
opacity = 0.90,
|
opacity = .95,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -33,14 +33,18 @@ config.window_padding = {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
local function load_neovim_colorscheme()
|
||||||
-- Colorscheme
|
-- Colorscheme
|
||||||
local file = io.open(wezterm.config_dir .. "/colorscheme", "r")
|
local file = io.open(wezterm.config_dir .. "/colorscheme", "r")
|
||||||
if file then
|
if file then
|
||||||
config.color_scheme = file:read("*a")
|
config.color_scheme = file:read("*a")
|
||||||
file:close()
|
file:close()
|
||||||
else
|
else
|
||||||
config.color_scheme = 'Catppuccin Mocha'
|
config.color_scheme = 'Catppuccin Mocha'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
load_neovim_colorscheme()
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|||||||
Reference in New Issue
Block a user