lots of changes

This commit is contained in:
Zacharias-Brohn
2025-02-15 17:20:09 +01:00
parent f41c99a565
commit d3465ff5cd
9 changed files with 144 additions and 223 deletions
+8 -3
View File
@@ -12,11 +12,16 @@ vim.filetype.add({
}
})
if time >= 10 and time < 20 then
if time >= 10 and time < 16 then
vim.o.background = "light"
vim.cmd[[colorscheme onedark]]
vim.cmd[[colorscheme one_light]]
else
vim.o.background = "dark"
vim.cmd[[colorscheme gruvbox-material]]
vim.cmd[[colorscheme gruvbox]]
end
local bg_color = vim.api.nvim_get_hl_by_name('Normal', true).background
vim.api.nvim_set_hl(0, 'WinSeparator', { fg = vim.api.nvim_get_hl_by_name('NvimTreeEndOfBuffer', true).foreground, bg = 'NONE' })
vim.api.nvim_set_hl(0, 'NvimTreeWinSeparator', { fg = bg_color, bg = 'NONE' })
vim.api.nvim_set_hl(0, 'NvimTreeCursorLine', { bg = vim.api.nvim_get_hl_by_name('CursorLine', true).background })