20 lines
388 B
Lua
20 lines
388 B
Lua
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
|