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.font_size = 12
|
||||||
config.freetype_load_target = 'Normal'
|
config.freetype_load_target = 'Normal'
|
||||||
|
|
||||||
config.color_scheme = 'catppuccin-mocha'
|
if wezterm.gui.get_appearance():find "Dark" then
|
||||||
config.colors = {
|
config.color_scheme = 'Catppuccin Mocha'
|
||||||
background = 'black'
|
config.colors = {
|
||||||
}
|
background = 'black'
|
||||||
|
}
|
||||||
|
else
|
||||||
|
config.color_scheme = 'Catppuccin Latte'
|
||||||
|
end
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
Loading…
Reference in New Issue
Block a user