Compare commits

..

3 Commits

Author SHA1 Message Date
7373cdbdfd NVim handle lightmode 2025-01-08 16:54:38 +11:00
385c4b9c2c Wezterm handle lightmode 2025-01-08 16:53:47 +11:00
0a7fd86ce2 Fix syntax highlighting on linux 2025-01-08 16:53:11 +11:00
3 changed files with 14 additions and 15 deletions

View File

@ -22,11 +22,6 @@ require("catppuccin").setup({
operators = {}, operators = {},
}, },
color_overrides = { color_overrides = {
mocha = {
base = "#1c1c1c",
mantle = "#1c1c1c",
crust = "#1c1c1c",
},
}, },
integrations = { integrations = {
cmp = true, cmp = true,
@ -34,5 +29,5 @@ require("catppuccin").setup({
}) })
-- setup must be called before loading -- setup must be called before loading
vim.cmd('colorscheme catppuccin-mocha') vim.cmd('colorscheme catppuccin')
vim.api.nvim_set_hl(0, "Normal", { guibg = NONE, ctermbg = NONE }) vim.api.nvim_set_hl(0, "Normal", { guibg = NONE, ctermbg = NONE })

View File

@ -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.color_scheme = 'Catppuccin Mocha'
config.colors = { config.colors = {
background = 'black' background = 'black'
} }
else
config.color_scheme = 'Catppuccin Latte'
end
return config return config

2
.zshrc
View File

@ -14,7 +14,7 @@ if [[ $(uname) == "Darwin" ]]; then
else else
export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin" export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
fi fi
export CONFIGDIR="${HOME}/.config" export CONFIGDIR="${HOME}/.config"