refactor(alpha): Set header to pacman
This commit is contained in:
parent
caffac7c55
commit
8c9babcc4e
|
@ -1,6 +1,5 @@
|
||||||
return (function()
|
math.randomseed(os.time())
|
||||||
math.randomseed(os.time())
|
local _ascii_arts = {
|
||||||
local _ascii_arts = {
|
|
||||||
kraken = {
|
kraken = {
|
||||||
" ",
|
" ",
|
||||||
" ",
|
" ",
|
||||||
|
@ -237,7 +236,7 @@ return (function()
|
||||||
[[⠀⠀⠘⢦⡀⠀⠀⠀⠀⠀⠀⢀⣀⠴⠖⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
|
[[⠀⠀⠘⢦⡀⠀⠀⠀⠀⠀⠀⢀⣀⠴⠖⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
|
||||||
[[⠀⠀⠀⠀⠉⠑⠒⠒⠐⠒⠛⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
|
[[⠀⠀⠀⠀⠉⠑⠒⠒⠐⠒⠛⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
|
||||||
},
|
},
|
||||||
dragon = {
|
bomb = {
|
||||||
' ▄▄██████████▄▄ ',
|
' ▄▄██████████▄▄ ',
|
||||||
' ▀▀▀ ██ ▀▀▀ ',
|
' ▀▀▀ ██ ▀▀▀ ',
|
||||||
' ▄██▄ ▄▄████████████▄▄ ▄██▄ ',
|
' ▄██▄ ▄▄████████████▄▄ ▄██▄ ',
|
||||||
|
@ -258,9 +257,9 @@ return (function()
|
||||||
' ▀████████████▀ ',
|
' ▀████████████▀ ',
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local _getFortune = function()
|
local _getFortune = function()
|
||||||
local _fortunes = {
|
local _fortunes = {
|
||||||
' \nI\'m sick of following my dreams, man. I\'m just going\nto ask where they\'re going and hook up with ’em later.\n \n—Mitch Hedberg',
|
' \nI\'m sick of following my dreams, man. I\'m just going\nto ask where they\'re going and hook up with ’em later.\n \n—Mitch Hedberg',
|
||||||
' \nBefore you criticize someone, you should walk a mile in\ntheir shoes. That way when you criticize them, you are a\nmile away from them and you have their shoes. \n \n—Jack Handey',
|
' \nBefore you criticize someone, you should walk a mile in\ntheir shoes. That way when you criticize them, you are a\nmile away from them and you have their shoes. \n \n—Jack Handey',
|
||||||
|
@ -288,16 +287,16 @@ return (function()
|
||||||
' \nFriendships must be built on a solid foundation of\nalcohol, sarcasm, inappropriateness, and shenanigans.',
|
' \nFriendships must be built on a solid foundation of\nalcohol, sarcasm, inappropriateness, and shenanigans.',
|
||||||
}
|
}
|
||||||
return _fortunes[math.random(1, #_fortunes)]
|
return _fortunes[math.random(1, #_fortunes)]
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'goolord/alpha-nvim',
|
'goolord/alpha-nvim',
|
||||||
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- removing fortune from dependencies fixed the highlighting(only for predefined highlights)
|
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- removing fortune from dependencies fixed the highlighting(only for predefined highlights)
|
||||||
config = function()
|
config = function()
|
||||||
local alpha = require("alpha")
|
local alpha = require("alpha")
|
||||||
local dashboard = require("alpha.themes.dashboard")
|
local dashboard = require("alpha.themes.dashboard")
|
||||||
|
|
||||||
dashboard.section.header.val = _ascii_arts['dragon'] -- require("ascii").art.text.slogons['make_cool_stuff']
|
dashboard.section.header.val = _ascii_arts['pacman'] -- require("ascii").art.text.slogons['make_cool_stuff']
|
||||||
|
|
||||||
-- Set menu
|
-- Set menu
|
||||||
dashboard.section.buttons.val = {
|
dashboard.section.buttons.val = {
|
||||||
|
@ -322,5 +321,4 @@ return (function()
|
||||||
|
|
||||||
alpha.setup(dashboard.opts)
|
alpha.setup(dashboard.opts)
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
end)()
|
|
||||||
|
|
Loading…
Reference in New Issue