alpha-nvim icon indicating copy to clipboard operation
alpha-nvim copied to clipboard

return section_mru in theta theme and cut short_fn if it is too long

Open yuukibarns opened this issue 4 months ago • 0 comments

Return section_mru in theta theme so that people can configure layout like this:

config = function()
	local theta = require("alpha.themes.theta")
	theta.header.val = require("alpha.fortune")
	theta.config.layout = {
		{ type = "padding", val = 2 },
		theta.header,
		{ type = "padding", val = 2 },
		theta.section_mru,
		{ type = "padding", val = 2 },
	}
	require("alpha").setup(theta.config)
end,

i.e., remove buttons. Note that we can't access theta.section_mru if not return it.

yuukibarns avatar Oct 04 '24 05:10 yuukibarns