1
Fork 0

Move from custom transparency module to stylix

This commit is contained in:
Matei Adriel 2023-12-10 19:45:28 +01:00
parent 38a7932c2c
commit e250b595e3
No known key found for this signature in database
16 changed files with 295 additions and 255 deletions
home/features/neovim/config/lua/my

View file

@ -4,7 +4,7 @@ function M.setup()
local default_length = 0.04
-- vim.g.neovide_floating_blur_amount_x = 10.0
-- vim.g.neovide_floating_blur_amount_y = 10.0
vim.g.neovide_transparency = 0.5
vim.g.neovide_transparency = require("nix.theme").opacity.applications
-- vim.g.transparency = 0.6
-- vim.g.pumblend = 0
vim.g.neovide_cursor_animation_length = default_length

View file

@ -12,7 +12,7 @@ function M.config()
local bluloco = require("bluloco")
bluloco.setup({
transparent = T.transparency.enable,
transparent = T.opacity.terminal < 1.0,
style = H.variant("Bluloco"),
})

View file

@ -13,7 +13,7 @@ function M.config()
vim.g.catppuccin_flavour = H.variant("Catppuccin")
catppuccin.setup({
transparent_background = T.transparency.enable,
transparent_background = T.transparent.terminal,
integrations = { nvimtree = true, telescope = true },
})
@ -22,7 +22,7 @@ function M.config()
vim.cmd("colorscheme catppuccin")
if T.transparency.enable then
if T.transparent.terminal then
vim.cmd([[highlight FloatBorder blend=0]])
end
end