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.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,7 +33,7 @@ config.window_padding = {
|
||||
|
||||
|
||||
|
||||
|
||||
local function load_neovim_colorscheme()
|
||||
-- Colorscheme
|
||||
local file = io.open(wezterm.config_dir .. "/colorscheme", "r")
|
||||
if file then
|
||||
@@ -42,5 +42,9 @@ if file then
|
||||
else
|
||||
config.color_scheme = 'Catppuccin Mocha'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
load_neovim_colorscheme()
|
||||
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user