Files
dotfiles/nvim/lua/plugins/auto-dark-mode.lua

20 lines
388 B
Lua
Raw Normal View History

2026-01-17 21:17:29 +00:00
ssh_client = os.getenv("SSH_CLIENT")
if ssh_client == nil or string.len(ssh_client) == 0 then
return {
"f-person/auto-dark-mode.nvim",
priority = 1100,
opts = {
update_interval = 1000,
set_dark_mode = function()
vim.cmd("colorscheme catppuccin-mocha")
end,
set_light_mode = function()
vim.cmd("colorscheme catppuccin-latte")
end,
},
}
else
return {}
end