Wezterm handle lightmode

This commit is contained in:
pfych 2025-01-08 16:53:47 +11:00
parent 0a7fd86ce2
commit 385c4b9c2c

View File

@ -5,9 +5,13 @@ config.font = wezterm.font('Monaco Nerd Font Mono', { weight = 'Medium' })
config.font_size = 12
config.freetype_load_target = 'Normal'
config.color_scheme = 'catppuccin-mocha'
config.colors = {
background = 'black'
}
if wezterm.gui.get_appearance():find "Dark" then
config.color_scheme = 'Catppuccin Mocha'
config.colors = {
background = 'black'
}
else
config.color_scheme = 'Catppuccin Latte'
end
return config