diff --git a/lua/plugins/themes.lua b/lua/plugins/themes.lua index b831579..0c18f37 100644 --- a/lua/plugins/themes.lua +++ b/lua/plugins/themes.lua @@ -22,8 +22,14 @@ return { vim.cmd("colorscheme moonfly") end, set_light_mode = function() - vim.api.nvim_set_option_value("background", "light", {}) - vim.cmd("colorscheme modus") + local uname = vim.loop.os_uname() + if uname.sysname == 'Linux' then + vim.api.nvim_set_option_value("background", "dark", {}) + vim.cmd("colorscheme moonfly") + else + vim.api.nvim_set_option_value("background", "light", {}) + vim.cmd("colorscheme modus") + end end, }, },