From 99f1a89aea79d5012dd05f4730b21297550b57df Mon Sep 17 00:00:00 2001 From: max397574 Date: Wed, 20 Oct 2021 20:16:55 +0200 Subject: =?UTF-8?q?fix(themes):=20=F0=9F=90=9Buse=20fold=20instead=20of=20?= =?UTF-8?q?section=20and=20some=20new=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/startup/themes/startify.lua | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'lua/startup/themes/startify.lua') diff --git a/lua/startup/themes/startify.lua b/lua/startup/themes/startify.lua index dac4ca3..1ee2485 100644 --- a/lua/startup/themes/startify.lua +++ b/lua/startup/themes/startify.lua @@ -8,21 +8,43 @@ settings = { }, body = { type = "oldfiles", - align = "left", + oldfiles_directory = false, + align = "center", + fold = false, + title = "Oldfiles", + margin = 5, + content = { "startup.nvim" }, + highlight = "TSString", + default_color = "#FFFFFF", + command = "", + oldfiles_amount = 10, + }, + body_2 = { + type = "oldfiles", + oldfiles_directory = true, + align = "center", + fold = false, + title = "Oldfiles of Directory", + margin = 5, + content = {}, + highlight = "TSString", + default_color = "#FFFFFF", + command = "", + oldfiles_amount = 10, }, + footer = { type = "text", content = require("startup.buildingblocks.functions").quote(), }, options = { oldfiles_amount = 3, - padding = { - body_footer = 2, - }, + paddings = { 1, 2, 2, 3 }, }, colors = { background = "#1f2227", }, + parts = { "header", "body", "body_2", "footer" }, } return settings -- cgit v1.2.3