few small fixes
This commit is contained in:
22
lua/ui.lua
22
lua/ui.lua
@@ -20,10 +20,26 @@ pk_use {
|
||||
--}
|
||||
--]]
|
||||
pk_use {
|
||||
'Th3Whit3Wolf/one-nvim',
|
||||
'Shatur/neovim-ayu',
|
||||
config = function()
|
||||
require('conftool').set({'background', "light"})
|
||||
vim.cmd [[colorscheme one-nvim]]
|
||||
local ct = require('conftool')
|
||||
local hr = os.date('*t').hour
|
||||
|
||||
--[[
|
||||
if hr >= 21 then
|
||||
ct.set({'background', 'dark'})
|
||||
elseif hr >= 7 then
|
||||
ct.set({'background', 'light'})
|
||||
elseif hr >= 0 then
|
||||
ct.set({'background', 'light'})
|
||||
end
|
||||
]]--
|
||||
ct.set({'background', 'light'})
|
||||
|
||||
require('ayu').setup {
|
||||
mirage = false,
|
||||
}
|
||||
vim.cmd [[colorscheme ayu]]
|
||||
end
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user