Update README.md

main
Sara 2024-03-21 15:36:22 +00:00
parent a4ce5f0a63
commit 8d0166c91e
1 changed files with 28 additions and 16 deletions

View File

@ -27,6 +27,15 @@ require'startup'.setup({
" ░ ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ░ ", " ░ ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ░ ",
"░ ░ ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ░ ░", "░ ░ ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ░ ░",
" ▓ █ ▓ █ ▓ █ ▓ ", " ▓ █ ▓ █ ▓ █ ▓ ",
},
oldfiles_amount = 0
},
lower = {
type = 'text',
align = 'center',
highlight = '',
default_color = '#FF0000',
content = {
" ▓ ▓ ▓ ▓ ▓ ▓ ", " ▓ ▓ ▓ ▓ ▓ ▓ ",
" ▒ ▓ ▒ ▓ ▓ ▓ ▒ ▓ ▒ ", " ▒ ▓ ▒ ▓ ▓ ▓ ▒ ▓ ▒ ",
" ░▒▓▒░ ▒ ▒ ▒ ░▒▓▒░ ", " ░▒▓▒░ ▒ ▒ ▒ ░▒▓▒░ ",
@ -39,15 +48,7 @@ require'startup'.setup({
" ▒ ▒ ", " ▒ ▒ ",
" ▒ ▒ ", " ▒ ▒ ",
" ▒▒▒ ", " ▒▒▒ ",
}, }
oldfiles_amount = 0
},
praise = {
type = 'text',
content = {'PRAISE THE CODE'},
align = 'center',
highlight = '',
default_color = '#CCCCCC',
}, },
piano = { piano = {
type = 'text', type = 'text',
@ -55,10 +56,17 @@ require'startup'.setup({
highlight = '', highlight = '',
default_color = '#FF0000', default_color = '#FF0000',
content = { content = {
"░▓░▓░░▓░▓░▓░░▓░▓░░▓░▓░▓░░", " ░▓░▓░░▓░▓░▓░░▓░▓░░▓░▓░▓░░ ",
"░░░░░░░░░░░░░░░░░░░░░░░░░", " ░░░░░░░░░░░░░░░░░░░░░░░░░ ",
} }
}, },
praise = {
type = 'text',
content = {'PRAISE THE CODE'},
align = 'center',
highlight = '',
default_color = '#CCCCCC',
},
body = { body = {
type = 'mapping', type = 'mapping',
oldfiles_directory = false, oldfiles_directory = false,
@ -67,10 +75,10 @@ require'startup'.setup({
title = 'Commands', title = 'Commands',
margin = 0, margin = 0,
content = { content = {
{'Find files', 'Telescope find_files', '<leader>f'}, -- requires telescope {'Open files', 'Telescope find_files', '<leader>f'}, -- requires telescope
{'Recent files', 'Telescope oldfiles', '<leader>r'}, -- requires telescope {'Recent files', 'Telescope oldfiles', '<leader>r'}, -- requires telescope
{'Browse files', 'Telescope file_browser', '<leader>b'}, -- requires telescope and file_browser {'Browse files', 'Telescope file_browser', '<leader>b'}, -- requires telescope and file_browser
{'Git commits', 'Telescope git_commits', '<leader>l'}, -- requires telescope {'Git log', 'Telescope git_commits', '<leader>l'}, -- requires telescope
{'Git status', 'Telescope git_status', '<leader>s'}, -- requires telescope {'Git status', 'Telescope git_status', '<leader>s'}, -- requires telescope
{'New file', "lua require'startup'.new_file()", '<leader>n'}, {'New file', "lua require'startup'.new_file()", '<leader>n'},
}, },
@ -82,7 +90,7 @@ require'startup'.setup({
mapping_keys = true, mapping_keys = true,
disable_statuslines = true, disable_statuslines = true,
cursor_column = 0.5, cursor_column = 0.5,
paddings = { 10, 1, 1, 0} paddings = { 14, 0, 1, 0, 0 }
}, },
mappings = { mappings = {
execute_command = '<CR>', execute_command = '<CR>',
@ -94,6 +102,10 @@ require'startup'.setup({
colors = { colors = {
background = '#00000000' background = '#00000000'
}, },
parts = {'keygen_church', 'praise', 'body', 'piano'} -- change the order for sections here
-- for example: put lower after body to 'wrap' the menu in the acii art
-- make sure to also check the paddings to make sure they work
parts = {'keygen_church', 'lower', 'praise', 'body', 'piano'}
}) })
``` ```