PRAISE
Go to file
Sara 6307c76b3c Update README.md 2024-03-21 15:43:15 +00:00
2024-03-20_22-03-1710970288.png Upload files to "/" 2024-03-20 21:31:58 +00:00
2024-03-21_15-03-1711032570.png Upload files to "/" 2024-03-21 15:06:46 +00:00
2024-03-21_16-03-1711034572.png Upload files to "/" 2024-03-21 15:40:12 +00:00
2024-03-21_16-03-1711035725.png Upload files to "/" 2024-03-21 15:42:22 +00:00
PRAISE-THE-CODE.lua Add PRAISE-THE-CODE.lua 2024-03-21 15:01:37 +00:00
PRAISE.lua Add PRAISE.lua 2024-03-20 21:28:44 +00:00
PRAISE_MORE.lua Add PRAISE_MORE.lua 2024-03-21 10:00:50 +00:00
README.md Update README.md 2024-03-21 15:43:15 +00:00

README.md

PRAISE THE CODE

Assumes a pretty big display, might need some adjustment for your own screen.

screenshot

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
    },
    lower = {
        type = 'text',
        align = 'center',
        highlight = '',
        default_color = '#FF0000',
        content = {
            "   ▓  ▓  ▓                 ▓  ▓  ▓   ",
            "   ▒  ▓  ▒     ▓  ▓  ▓     ▒  ▓  ▒   ",
            "    ░▒▓▒░      ▒  ▒  ▒      ░▒▓▒░    ",
            "      ▓     ▓  ░░░▒░░░  ▓     ▓      ",
            "      ▓     ▒     ▒     ▒     ▓      ",
            "      ▒     ░░░░▒▒▒▒▒░░░░     ▒      ",
            "      ▒           ▒           ▒      ",
            "      ░       ▓▒░░▒░░▒▓       ░      ",
            "      ░          ▒ ▒          ░      ",
            "                ▒   ▒                ",
            "                ▒   ▒                ",
            "                 ▒▒▒                 ",
        }
    },
    piano = {
        type = 'text',
        align = 'center',
        highlight = '',
        default_color = '#FF0000',
        content = { 
            "      ░▓░▓░░▓░▓░▓░░▓░▓░░▓░▓░▓░░      ",
            "      ░░░░░░░░░░░░░░░░░░░░░░░░░      ",
        }
    },
    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 = {
            {'Open files', 'Telescope find_files', '<leader>f'}, -- requires telescope
            {'Recent files', 'Telescope oldfiles', '<leader>r'}, -- requires telescope
            {'Browse files', 'Telescope file_browser', '<leader>b'}, -- requires telescope and file_browser
            {'Git log', 'Telescope git_commits', '<leader>l'}, -- requires telescope
            {'Git status', 'Telescope git_status', '<leader>s'}, -- requires telescope
            {'New file', "lua require'startup'.new_file()", '<leader>n'},
        },
        highlight = '',
        default_color = '#BF0000',
        oldfiles_amount = 0
    },
    options = {
        mapping_keys = true,
        disable_statuslines = true,
        cursor_column = 0.5,
        paddings = { 14, 0, 1, 0, 0 }
    },
    mappings = {
        execute_command = '<CR>',
        open_file = 'o',
        open_file_split = '<c-o>',
        open_section = '<TAB>',
        open_help = '?',
    },
    colors = {
        background = '#00000000'
    },
    -- 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'}
})

Changing the order allows creating results like screenshot or screenshot