Wezterm handle lightmode
This commit is contained in:
parent
0a7fd86ce2
commit
385c4b9c2c
@ -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 = {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user