local settings = { -- every line should be same width without escaped \ header = { type = "text", oldfiles_directory = false, align = "center", fold_section = false, title = "Header", margin = 5, content = { "▓█████▄ ▓█████ ▄▄▄ ▓█████▄ ███▄ █ ██▒ █▓ ██▓ ███▄ ▄███▓ ", "▒██▀ ██▌▓█ ▀▒████▄ ▒██▀ ██▌ ██ ▀█ █▓██░ █▒▓██▒▓██▒▀█▀ ██▒ ", "░██ █▌▒███ ▒██ ▀█▄ ░██ █▌▓██ ▀█ ██▒▓██ █▒░▒██▒▓██ ▓██░ ", "░▓█▄ ▌▒▓█ ▄░██▄▄▄▄██ ░▓█▄ ▌▓██▒ ▐▌██▒ ▒██ █░░░██░▒██ ▒██ ", "░▒████▓ ░▒████▒▓█ ▓██▒░▒████▓ ▒██░ ▓██░ ▒▀█░ ░██░▒██▒ ░██▒ ", " ▒▒▓ ▒ ░░ ▒░ ░▒▒ ▓▒█░ ▒▒▓ ▒ ░ ▒░ ▒ ▒ ░ ▐░ ░▓ ░ ▒░ ░ ░ ", " ░ ▒ ▒ ░ ░ ░ ▒ ▒▒ ░ ░ ▒ ▒ ░ ░░ ░ ▒░ ░ ░░ ▒ ░░ ░ ░ ", " ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░░ ▒ ░░ ░ ", " ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ", " ░ ░ ░ ", }, highlight = "Statement", default_color = "#B71F34", oldfiles_amount = 0, }, -- name which will be displayed and command body = { type = "mapping", oldfiles_directory = false, align = "center", fold_section = false, title = "Basic Commands", margin = 5, content = { { " Find File", "Telescope find_files", "ff" }, { " Find Word", "Telescope live_grep", "lg" }, { " Recent Files", "Telescope oldfiles", "of" }, { " File Browser", "Telescope file_browser", "fb" }, { " Colorschemes", "Telescope colorscheme", "cs" }, { " New File", "lua require'startup'.new_file()", "nf" }, }, highlight = "String", default_color = "#8CA1A5", oldfiles_amount = 0, }, clock = { type = "text", content = function() local clock = " " .. os.date("%H:%M") local date = " " .. os.date("%d-%m-%y") return { clock, date } end, oldfiles_directory = false, align = "center", fold_section = false, title = "", margin = 5, highlight = "TSString", default_color = "#C678DD", oldfiles_amount = 10, }, options = { mapping_keys = true, cursor_column = 0.5, empty_lines_between_mappings = true, disable_statuslines = true, paddings = { 1, 3, 3, 0 }, }, mappings = { execute_command = "", open_file = "o", open_file_split = "", open_section = "", open_help = "?", }, colors = { background = "#1A2026", folded_section = "#36424F", }, parts = { "header", "body", "clock" }, } return settings