2022-07-30 07:17:12 +02:00
|
|
|
local home = os.getenv("HOME")
|
|
|
|
local db = require("dashboard")
|
|
|
|
|
|
|
|
db.custom_header = function()
|
2022-10-17 17:13:31 +02:00
|
|
|
local cringe = {
|
|
|
|
"Have fun coding!",
|
|
|
|
"Sisyphus wasn't forbidden to smile.",
|
|
|
|
"Pro tip: Run :q! to exit. Now!",
|
2022-10-11 07:40:50 +02:00
|
|
|
}
|
2022-10-17 17:13:31 +02:00
|
|
|
local random_cringe = cringe[math.random(#cringe)]
|
2022-10-11 07:40:50 +02:00
|
|
|
return {
|
2022-10-17 17:13:31 +02:00
|
|
|
[[╭──────────────────────────────────────────────────╮]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⡏⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣄⢧⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⢰⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠘⣄⠀⠀⠀⠀⢹⣦⠀⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠘⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⡄⠀⠀⠀⠈⠙⣧⡀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢻⠀⠀⠀⠀⢸⡼⣇⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⢿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠖⠀⠀⡸⠀⠀⠀⡟⠈⠃⣿⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⢺⡇⠀⠀⠀⠀⠀⠀⣀⣶⣶⠀⠀⠀⠀⠀⣠⣶⣶⣶⣶⣦⣤⣀⣀⣤⡶⠶⠶⠶⡇⠀⠀⣼⣿⣶⠀⣿⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠈⣷⠀⠀⠀⣠⣾⣿⣿⣿⣿⢿⠀⠀⠀⠘⢻⠙⠛⠒⠛⠛⢉⣩⠁⠀⠀⢀⡄⠀⡇⠀⢀⣿⡿⠛⠀⣿⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠘⣆⠀⠈⠉⠁⣉⣉⣃⠞⣠⠀⠀⠀⠀⠀⠀⠀⠈⠙⠛⠉⠁⠀⠀⠀⡾⠀⡀⠁⠀⠈⣿⠁⠀⣸⠇⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠹⣷⠐⠀⠀⠀⠀⠀⠀⠃⠀⠀⠀⠀⠀⠀⢤⣀⡀⠀⠀⠀⠀⠀⠀⠀⣦⢱⠀⠀⠀⢿⣀⣠⠏⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⠀⠀⠀⠀⠀⣰⡾⠃⠀⠀⠀⠀⠀⣀⣠⡿⠀⠀⣤⣄⡀⠀⠀⠀⠸⣄⠀⠀⠀⢳⡝⢯⡀⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡀⠀⠀⠀⣰⡟⠑⠦⠴⣤⣤⣤⣾⡛⠁⠀⠀⠀⠀⠈⢷⠀⠀⠀⠀⢿⡄⠀⠀⠀⣿⡆⠙⣆⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⣿⠀⠀⢠⣤⣤⣄⢉⣨⣥⣶⠶⢶⣾⠶⠂⠘⠦⢤⣤⣠⡾⠃⠀⠀⠀⣿⠀⠀⠘⣦⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣇⠀⣀⠀⠈⠀⠐⢿⣏⠉⠉⠉⢉⣁⣠⡶⠟⠁⠀⠀⠀⠀⠀⠈⠁⠀⠀⠀⣠⣾⡟⠀⠀⠀⠘⢧⣀⡀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⡄⠈⠀⠂⠀⠀⠀⠈⠉⢉⣉⣩⡭⠓⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⡿⠀⠀⠀⠀⠀⠀⠉⠉⠑⠒│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠱⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣨⠟⠀⡁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣾⣿⣿⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡴⠋⠀⠀⡠⠇⢠⣀⠀⠀⠀⠀⠀⠀⠠⠐⠂⠀⠀⢀⣠⣼⣿⣿⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⠀⠀⠀⣀⣀⡠⠤⠶⠛⠁⠀⠀⠀⠈⠀⠀⠀⠛⢷⣤⣀⣀⠀⠀⠀⠀⢀⣠⣴⣿⣿⣿⣿⣿⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[│⣤⠞⠋⠉⠀⡀⠀⠀⣀⡀⠀⠀⠀⠀⠀⠀⣤⣄⠘⣿⣿⣟⠛⠿⣷⣿⣿⣿⣿⣿⣿⣿⣿⣯⣿⣦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│]],
|
|
|
|
[[╰──────────────────────────────────────────────────╯]],
|
|
|
|
random_cringe,
|
2022-10-11 07:40:50 +02:00
|
|
|
}
|
2022-07-30 07:17:12 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
db.custom_center = {
|
2022-10-11 07:40:50 +02:00
|
|
|
{
|
|
|
|
icon = " ",
|
|
|
|
desc = "Open Projects ",
|
|
|
|
action = "Telescope project",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon = " ",
|
|
|
|
desc = "Find File ",
|
|
|
|
action = "Telescope find_files find_command=rg,--hidden,--files",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon = " ",
|
|
|
|
desc = "File Browser ",
|
|
|
|
action = "Telescope file_browser",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon = " ",
|
|
|
|
desc = "Find word ",
|
|
|
|
action = "Telescope live_grep",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon = " ",
|
|
|
|
desc = "Open Settings ",
|
|
|
|
action = function()
|
|
|
|
vim.cmd("cd " .. home .. "/.config/nvim/")
|
|
|
|
vim.cmd("edit init.lua")
|
|
|
|
end,
|
|
|
|
},
|
2022-07-30 07:17:12 +02:00
|
|
|
}
|
2022-10-11 07:40:50 +02:00
|
|
|
|
|
|
|
db.custom_footer = function()
|
|
|
|
local v = vim.version()
|
|
|
|
local vStr = string.format("%d.%d.%d", v.major, v.minor, v.patch)
|
|
|
|
local plugCount = #vim.tbl_keys(packer_plugins)
|
|
|
|
return {
|
2022-10-17 17:13:31 +02:00
|
|
|
"masochism " .. vStr,
|
2022-10-11 07:40:50 +02:00
|
|
|
plugCount .. " regrets",
|
|
|
|
}
|
|
|
|
end
|