2024-01-04 05:24:55 +01:00
|
|
|
local H = require("my.tempest")
|
2023-01-22 01:22:38 +01:00
|
|
|
|
|
|
|
local M = {
|
|
|
|
"catppuccin/nvim",
|
|
|
|
name = "catppuccin",
|
|
|
|
lazy = false,
|
2023-05-24 03:17:09 +02:00
|
|
|
enabled = H.theme_contains("Catppuccin"),
|
2023-01-22 01:22:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
function M.config()
|
|
|
|
local catppuccin = require("catppuccin")
|
2024-01-04 05:24:55 +01:00
|
|
|
vim.g.catppuccin_flavour = H.theme_variant("Catppuccin")
|
2023-01-22 01:22:38 +01:00
|
|
|
|
|
|
|
catppuccin.setup({
|
2024-04-13 22:42:29 +02:00
|
|
|
transparent_background = H.theme.transparency.terminal.enabled,
|
2023-12-13 19:30:04 +01:00
|
|
|
integrations = {
|
|
|
|
nvimtree = true,
|
|
|
|
telescope = true,
|
|
|
|
mini = { enabled = true },
|
|
|
|
},
|
2023-01-22 01:22:38 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
vim.cmd([[highlight NotifyINFOIcon guifg=#d6b20f]])
|
|
|
|
vim.cmd([[highlight NotifyINFOTitle guifg=#d6b20f]])
|
|
|
|
|
|
|
|
vim.cmd("colorscheme catppuccin")
|
2023-08-28 17:18:26 +02:00
|
|
|
|
2024-04-13 22:42:29 +02:00
|
|
|
if H.theme.transparency.terminal.enabled then
|
2023-12-13 19:30:04 +01:00
|
|
|
vim.cmd([[highlight FloatBorder blend=0 guibg=NONE]])
|
|
|
|
-- vim.cmd([[highlight MiniStatuslineInactive blend=0 guibg=NONE]])
|
|
|
|
vim.cmd([[highlight MiniStatuslineFilename blend=0 guibg=NONE]])
|
|
|
|
-- vim.cmd([[highlight MiniStatuslineFileinfo blend=0 guibg=NONE]])
|
|
|
|
-- vim.cmd([[highlight MiniStatuslineDevInfo blend=0 guibg=NONE]])
|
|
|
|
vim.cmd([[highlight Statusline blend=0 guibg=NONE]])
|
|
|
|
vim.cmd([[highlight StatuslineNC blend=0 guibg=NONE]])
|
2023-08-28 17:18:26 +02:00
|
|
|
end
|
2023-01-22 01:22:38 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|