From 65de8d9606fd4959a5dbea80ecec09bb05b40a1e Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 20 Mar 2024 21:36:01 +0000 Subject: [PATCH] Update README.md --- README.md | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 73 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68615c2..c8c356d 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,76 @@ Assumes a pretty big display, might need some adjustment for your own screen. -![screenshot](2024-03-20_22-03-1710970288.png) \ No newline at end of file +![screenshot](2024-03-20_22-03-1710970288.png) + +```lua +require'startup'.setup({ + keygen_church = { + type = 'text', + title = 'PRAISE THE CODE', + oldfiles_directory = false, + fold_section = false, + default_color = '#FF0000', + highlight = '', + margin = 5, + align = 'center', + content = { + " ▓ ▓ ▓ ", + " ▒ ▒ ▒ ", + "▓ ░░░▒░░░ ▓", + "▒ ▒ ▒", + "░░░░▒▒▒▒▒░░░░", + " ▒ ", + " ▓▒░░▒░░▒▓ ", + " ▒ ▒ ", + " ▒ ▒ ", + " ▒ ▒ ", + " ▒▒▒ " + }, + oldfiles_amount = 0 + }, + praise = { + type = 'text', + content = {'PRAISE THE CODE'}, + align = 'center', + highlight = '', + default_color = '#CCCCCC', + }, + body = { + type = 'mapping', + oldfiles_directory = false, + align = 'center', + fold_section = false, + title = 'Commands', + margin = 0, + content = { + {'File picker', 'Telescope find_files', 'f'}, -- requires telescope + {'Recent files', 'Telescope oldfiles', 'r'}, -- requires telescope + {'File browser', 'Telescope file_browser', 'b'}, -- requires telescope and file_browser + {'New file', "lua require'startup'.new_file()", 'n'}, + {'Git status', 'Telescope git_status', 's'}, -- requires telescope + {'Git log', 'Telescope git_commits', 'l'}, -- requires telescope + }, + highlight = '', + default_color = '#BF0000', + oldfiles_amount = 0 + }, + options = { + mapping_keys = true, + disable_statuslines = true, + cursor_column = 0.5, + paddings = { 10, 2, 5, 0} + }, + mappings = { + execute_command = '', + open_file = 'o', + open_file_split = '', + open_section = '', + open_help = '?', + }, + colors = { + background = '#00000000' + }, + parts = {'keygen_church', 'praise', 'body'} +}) +``` \ No newline at end of file