From a3cc4532719c9b67b06df949d6574dabe99f7f93 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Mon, 27 Apr 2026 23:05:28 +0200 Subject: [PATCH] light mode during the day --- init.lua | 6 +++++- lua/config/lspconfig.lua | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index a8cf558..a047c45 100644 --- a/init.lua +++ b/init.lua @@ -10,4 +10,8 @@ vim.filetype.add { pattern = { [".*/hypr/.*%.conf"] = "hyprlang", [".*/uwsm/env.*"] = "zsh" }, } -vim.cmd [[colorscheme catppuccin-macchiato]] +if time >= 8 and time < 17 then + vim.cmd [[colorscheme catppuccin-latte]] +else + vim.cmd [[colorscheme catppuccin-macchiato]] +end diff --git a/lua/config/lspconfig.lua b/lua/config/lspconfig.lua index 08a8b11..4253edd 100644 --- a/lua/config/lspconfig.lua +++ b/lua/config/lspconfig.lua @@ -22,6 +22,7 @@ local servers = { "cssls", "tailwindcss", "jdtls", + "odinls", } for _, server in ipairs(servers) do