Depending on the time of day and room lighting I’ll cycle through a few variants of my colorscheme. I recently found a way to change my terminal colorscheme while in Neovim so they stay consistent.
local function set_terminal_colorscheme(name)
vim.loop.spawn('kitty', {
args = {
'@',
'--to',
vim.env.KITTY_LISTEN_ON,
'set-colors',
-- '-a', -- update for all windows
-- '-c', -- update for new windows
string.format('~/.config/kitty/base16-kitty/colors/base16-%s.conf', name) -- path to kitty colorscheme
}
}, nil)
end