updated e-ink config

This commit is contained in:
Tawfeeq 2025-03-27 01:30:45 +01:00
parent f22df9bbf7
commit f90f5456fa
2 changed files with 18 additions and 14 deletions

View file

@ -1,16 +1,19 @@
return {
"alexxGmZ/e-ink.nvim",
priority = 1000,
config = function ()
require("e-ink").setup()
vim.cmd.colorscheme "e-ink"
'alexxGmZ/e-ink.nvim',
priority = 1000,
config = function()
-- Set background BEFORE applying colorscheme
vim.opt.background = 'light' -- or 'dark'
local mono = require('e-ink.palette').mono()
vim.api.nvim_set_hl(0, 'Cursor', { bg = mono[16] })
vim.api.nvim_set_hl(0, 'Cursor', { fg = mono[1], bg = mono[16] })
require('e-ink').setup()
vim.cmd.colorscheme 'e-ink'
-- choose light mode or dark mode
-- vim.opt.background = "dark"
vim.opt.background = "light"
--
-- or do
-- :set background=dark
-- :set background=light
end
-- Get palette AFTER colorscheme setup
local everforest = require('e-ink.palette').everforest()
-- Target a VALID highlight group
-- vim.api.nvim_set_hl(0, 'Comment', { fg = everforest.purple })
end,
}