summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne-Cole <77279425+Wacky404@users.noreply.github.com>2024-03-05 11:33:56 -0600
committerWayne-Cole <77279425+Wacky404@users.noreply.github.com>2024-03-05 11:33:56 -0600
commit0b836aeb54bea740a3cd9e8c4da54e72eb5d74c9 (patch)
treec2d2ff6157c49b40df23f05deac525158dd0f0dd
parentaba63fbb2219e5ae3265e08e758c7304eebc6bfc (diff)
downloadwackys-dev-env-0b836aeb54bea740a3cd9e8c4da54e72eb5d74c9.tar.xz
wackys-dev-env-0b836aeb54bea740a3cd9e8c4da54e72eb5d74c9.zip
add: Transparency for NVIM
-rw-r--r--.config/nvim/lua/cole/core/colorscheme.lua12
-rw-r--r--.config/nvim/lua/cole/plugins/transparent.lua40
2 files changed, 46 insertions, 6 deletions
diff --git a/.config/nvim/lua/cole/core/colorscheme.lua b/.config/nvim/lua/cole/core/colorscheme.lua
index b2ec91f..2a14a15 100644
--- a/.config/nvim/lua/cole/core/colorscheme.lua
+++ b/.config/nvim/lua/cole/core/colorscheme.lua
@@ -1,4 +1,4 @@
-local tokyonight, _ = pcall(vim.cmd, "colorscheme tokyonight")
+local tokyonight, _ = pcall(vim.cmd, "colorscheme tokyonight-day")
if not tokyonight then
return
end
@@ -6,7 +6,7 @@ end
require("tokyonight").setup({
-- your configuration comes here
-- or leave it empty to use the default settings
- style = "night", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
+ style = "storm", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
light_style = "day", -- The theme is used when the background is set to light
transparent = true, -- Enable this to disable setting the background color
terminal_colors = false, -- Configure the colors used when opening a `:terminal` in [Neovim](https://github.com/neovim/neovim)
@@ -18,11 +18,11 @@ require("tokyonight").setup({
functions = {},
variables = {},
-- Background styles. Can be "dark", "transparent" or "normal"
- sidebars = "dark", -- style for sidebars, see below
- floats = "dark", -- style for floating windows
+ sidebars = "transparent", -- style for sidebars, see below
+ floats = "transparent", -- style for floating windows
},
- sidebars = { "qf", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]`
- day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors
+ sidebars = { "terminal", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]`
+ day_brightness = 0.5, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors
hide_inactive_statusline = false, -- Enabling this option, will hide inactive statuslines and replace them with a thin border instead. Should work with the standard **StatusLine** and **LuaLine**.
dim_inactive = false, -- dims inactive windows
lualine_bold = false, -- When `true`, section headers in the lualine theme will be bold
diff --git a/.config/nvim/lua/cole/plugins/transparent.lua b/.config/nvim/lua/cole/plugins/transparent.lua
new file mode 100644
index 0000000..f5e84e5
--- /dev/null
+++ b/.config/nvim/lua/cole/plugins/transparent.lua
@@ -0,0 +1,40 @@
+local transparent_setup, transparent = pcall(require, "transparent")
+if not transparent_setup then
+ print("Error: transparent is not working")
+ return
+end
+
+transparent.setup({ -- Optional, you don't have to run setup.
+ groups = { -- table: default groups
+ "Normal",
+ "NormalNC",
+ "Comment",
+ "Constant",
+ "Special",
+ "Identifier",
+ "Statement",
+ "PreProc",
+ "Type",
+ "Underlined",
+ "Todo",
+ "String",
+ "Function",
+ "Conditional",
+ "Repeat",
+ "Operator",
+ "Structure",
+ "LineNr",
+ "NonText",
+ "SignColumn",
+ "CursorLine",
+ "CursorLineNr",
+ "StatusLine",
+ "StatusLineNC",
+ "EndOfBuffer",
+ },
+ extra_groups = {
+ "NormalFloat", -- floating windows
+ "NvimTreeNormal", -- nvim tree
+ }, -- table: additional groups that should be cleared
+ exclude_groups = {}, -- table: groups you don't want to clear
+})