math.randomseed(os.time()) Headers = { { [[ ███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗ ]], [[ ████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║ ]], [[ ██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║ ]], [[ ██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║ ]], [[ ██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║ ]], [[ ╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ]], [[ ]], }, { [[ ███▄ █ ▓█████ ▒█████ ██▒ █▓ ██▓ ███▄ ▄███▓ ]], [[ ██ ▀█ █ ▓█ ▀ ▒██▒ ██▒▓██░ █▒▓██▒▓██▒▀█▀ ██▒ ]], [[ ▓██ ▀█ ██▒▒███ ▒██░ ██▒ ▓██ █▒░▒██▒▓██ ▓██░ ]], [[ ▓██▒ ▐▌██▒▒▓█ ▄ ▒██ ██░ ▒██ █░░░██░▒██ ▒██ ]], [[ ▒██░ ▓██░░▒████▒░ ████▓▒░ ▒▀█░ ░██░▒██▒ ░██▒ ]], [[ ░ ▒░ ▒ ▒ ░░ ▒░ ░░ ▒░▒░▒░ ░ ▐░ ░▓ ░ ▒░ ░ ░ ]], [[ ░ ░░ ░ ▒░ ░ ░ ░ ░ ▒ ▒░ ░ ░░ ▒ ░░ ░ ░ ]], [[ ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ▒ ░░ ░ ]], [[ ░ ░ ░ ░ ░ ░ ░ ░ ]], [[ ░ ]], [[ ]], }, { [[ ██████ █████ █████ █████ ███ ]], [[ ░░██████ ░░███ ░░███ ░░███ ░░░ ]], [[ ░███░███ ░███ ██████ ██████ ░███ ░███ ████ █████████████ ]], [[ ░███░░███░███ ███░░███ ███░░███ ░███ ░███ ░░███ ░░███░░███░░███ ]], [[ ░███ ░░██████ ░███████ ░███ ░███ ░░███ ███ ░███ ░███ ░███ ░███ ]], [[ ░███ ░░█████ ░███░░░ ░███ ░███ ░░░█████░ ░███ ░███ ░███ ░███ ]], [[ █████ ░░█████░░██████ ░░██████ ░░███ █████ █████░███ █████ ]], [[ ░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░ ░░░ ░░░░░ ]], [[ ]], }, { [[ ▐ ▄ ▄▄▄ . ▌ ▐·▪ • ▌ ▄ ·. ]], [[ •█▌▐█▀▄.▀· ▄█▀▄ ▪█·█▌██ ·██ ▐███▪ ]], [[ ▐█▐▐▌▐▀▀▪▄▐█▌.▐▌▐█▐█•▐█·▐█ ▌▐▌▐█· ]], [[ ██▐█▌▐█▄▄▌▐█▌.▐▌ ███ ▐█▌██ ██▌▐█▌ ]], [[ ▀▀ █▪ ▀▀▀ ▀█▄▀▪. ▀ ▀▀▀▀▀ █▪▀▀▀ ]], [[ ]], }, { [[ __ __ ________ ______ __ __ ______ __ __ ]], [[ | \ | \ \/ \| \ | \ \ \ / \ ]], [[ | ▓▓\ | ▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ | ▓▓\▓▓▓▓▓▓ ▓▓\ / ▓▓ ]], [[ | ▓▓▓\| ▓▓ ▓▓__ | ▓▓ | ▓▓ ▓▓ | ▓▓ | ▓▓ | ▓▓▓\ / ▓▓▓ ]], [[ | ▓▓▓▓\ ▓▓ ▓▓ \ | ▓▓ | ▓▓\▓▓\ / ▓▓ | ▓▓ | ▓▓▓▓\ ▓▓▓▓ ]], [[ | ▓▓\▓▓ ▓▓ ▓▓▓▓▓ | ▓▓ | ▓▓ \▓▓\ ▓▓ | ▓▓ | ▓▓\▓▓ ▓▓ ▓▓ ]], [[ | ▓▓ \▓▓▓▓ ▓▓_____| ▓▓__/ ▓▓ \▓▓ ▓▓ _| ▓▓_| ▓▓ \▓▓▓| ▓▓ ]], [[ | ▓▓ \▓▓▓ ▓▓ \\▓▓ ▓▓ \▓▓▓ | ▓▓ \ ▓▓ \▓ | ▓▓ ]], [[ \▓▓ \▓▓\▓▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓ \▓▓▓▓▓▓\▓▓ \▓▓ ]], [[ ]], }, { [[ ▀███▄ ▀███▀███▀▀▀███ ▄▄█▀▀██▄ ▀████▀ ▀███▀████▀████▄ ▄███▀ ]], [[ ███▄ █ ██ ▀█▄██▀ ▀██▄ ▀██ ▄█ ██ ████ ████ ]], [[ █ ███ █ ██ █ ██▀ ▀██ ██▄ ▄█ ██ █ ██ ▄█ ██ ]], [[ █ ▀██▄ █ ██████ ██ ██ ██▄ █▀ ██ █ █▓ █▀ ██ ]], [[ █ ▀██▄▓ ██ █ ▄█ ██ ▀▓█ ▓▀ █▓ ▓ █▓▄█▀ ██ ]], [[ ▓ ▓█▓ █▓ ▄███ ██▀ ▓██▄ █▓ ▓ ▀▓█▀ ██ ]], [[ ▓ ▀▓▓▓▓ ▓▓ ▓ ▓██ ▓█▓ ▓▓ ▓▀ ▓▓ ▓ ▓▓▓▓▀ ▓▓ ]], [[ ▓ ▓▓▓ ▓▓ ▓▓█▓▓▓ ▓▓▓ ▓▓▒▒ ▒▓ ▒ ▀▓▓▀ ▓▓ ]], [[ ▒ ▒ ▒ ▒▓▓▒ ▒▒▒▓▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒▓▒ ▒▒ ▒▒▒ ▒ ▒ ▒▒▒ ]], [[ ]], }, { [[ _.oo. ]], [[ _.u[[/;:,. .odMMMMMM' ]], [[ .o888UU[[[/;:-. .o@P^ MMM^ ]], [[ oN88888UU[[[/;::-. dP^ ]], [[ dNMMNN888UU[[[/;:--. .o@P^ ]], [[ ,MMMMMMN888UU[[/;::-. o@^ ]], [[ NNMMMNN888UU[[[/~.o@P^ ]], [[ 888888888UU[[[/o@^-.. ]], [[ oI8888UU[[[/o@P^:--.. ]], [[ .@^ YUU[[[/o@^;::---.. ]], [[ oMP ^/o@P^;:::---.. ]], [[ .dMMM .o@^ ^;::---... ]], [[ dMMMMMMM@^` `^^^^ ]], [[ YMMMUP^ ]], [[ ^^ ]], [[ ]], }, { [[ ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ]], [[ ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ]], [[ ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ]], [[ ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ]], [[ ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ]], [[ ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ]], [[ ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ]], [[ ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ]], [[ ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ]], [[ ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ]], [[ ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ]], [[ ]], }, { [[ ,-. _,---._ __ / \ ]], [[ / ) .-' `./ / \ ]], [[ ( ( ,' `/ /| ]], [[ \ `-" \'\ / | ]], [[ `. , \ \ / | ]], [[ /`. ,'-`----Y | ]], [[ ( ; | ' ]], [[ | ,-. ,-' | / ]], [[ | | ( | | / ]], [[ ) | \ `.___________|/ ]], [[ `--' `--' ]], [[ ]], }, { [[ |\ _,,,---,,_ ]], [[ ZZZzz /,`.-'`' -. ;-;;,_ ]], [[ |,4- ) )-,_. ,\ ( `'-' ]], [[ '---''(_/--' `-'\_) ]], [[ ]], }, { [[ ____ ]], [[ /\ \ ]], [[ / \ \ ]], [[ / \ \ ]], [[ / \ \ ]], [[ / /\ \ \ ]], [[ / / \ \ \ ]], [[ / / \ \ \ ]], [[ / / / \ \ \ ]], [[ / / / \ \ \ ]], [[ / / /---------' \ ]], [[ / / /_______________\ ]], [[ \ / / ]], [[ \/_____________________/ ]], [[ ]], }, } Quotes = { { "", "I don't care that they stole my idea... I care that they don't have any of their own", "~ Nikola Tesla", }, { "", "Make everything as simple as possible, but not simpler.", "~ Albert Einstein", }, { "", "Code never lies, comments sometimes do.", "~ Ron Jeffries", }, { "", "Good code is its own best documentation.", "~ Steve McConnell", }, { "", "I do not fear computers. I fear the lack of them.", "~ Isaac Asimov", }, { "", "If a machine is expected to be infallible, it cannot also be intelligent.", "~ Alan Turing", }, { "", "Mathematical reasoning may be regarded.", "~ Alan Turing", }, { "", "Anti-social behavior is a trait of intelligence in a world full of conformists.", "~ Nikola Tesla", }, { "", "We are very, very small, but we are profoundly capable of very, very big things.", "~ Stephen Hawking", }, { "", "Quiet people have the loudest minds.", "~ Stephen Hawking", } } local header = function() return Headers[math.random(#Headers)] end local footer = function() return Quotes[math.random(#Quotes)] end local init = function() local keymap = vim.keymap keymap.set("n", "d", ":Dashboard", { noremap = true, silent = true, desc = "Dashboard" }) -- Dashboard end local hyper = function() require("dashboard").setup { theme = "hyper", shortcut_type = "number", change_to_vcs_root = true, hide = { statusline = false }, config = { header = header(), shortcut = { { action = "ene | lua require('lualine')", desc = "New", icon = " ", key = "n" }, { action = "Lazy", desc = "Lazy", icon = "󰒲 ", key = "l" }, { action = "Oil --float", desc = "File browser", icon = " ", key = "o" }, }, packages = { enable = true }, project = { enable = true }, mru = { limit = 5 }, footer = footer, }, } end return { "eric-marin/dashboard-nvim", dependencies = { "nvim-tree/nvim-web-devicons" }, lazy = false, init = init, config = hyper, }