From 477f60b966226b7be809daef6ef5a1b8a85f86a2 Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Thu, 9 Jan 2025 19:53:34 +0100 Subject: [PATCH] Sync ghostty and nvim backgrounds, add transparency support to colorscheme in nvim --- home/.config/ghostty/config | 1 + home/.config/nvim/lua/plugs/ayu.lua | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/home/.config/ghostty/config b/home/.config/ghostty/config index 226a662..0b98377 100644 --- a/home/.config/ghostty/config +++ b/home/.config/ghostty/config @@ -19,6 +19,7 @@ clipboard-paste-protection = false window-decoration = false shell-integration = zsh +background = #1F2430 # Transparency background-opacity = 0.8625 background-blur-radius = 20 diff --git a/home/.config/nvim/lua/plugs/ayu.lua b/home/.config/nvim/lua/plugs/ayu.lua index ceb9b65..a97da1a 100644 --- a/home/.config/nvim/lua/plugs/ayu.lua +++ b/home/.config/nvim/lua/plugs/ayu.lua @@ -56,6 +56,17 @@ return { mirage = is_mirage, -- Set to `true` to use `mirage` variant instead of `dark` for dark background. terminal = false, -- Set to `false` to let terminal manage its own colors. overrides = { + -- TRANSPARENCY + Normal = { bg = "none" }, + NormalFloat = { bg = "none" }, + ColorColumn = { bg = "none" }, + SignColumn = { bg = "none" }, + Folded = { bg = "none" }, + FoldColumn = { bg = "none" }, + CursorColumn = { bg = "none" }, + VertSplit = { bg = "none" }, + CursorLineNr = { bg = "none" }, + -- TRANSPARENCY ["@property"] = overrides.member_variable, ["PreProc"] = overrides.pre_process, --CPP