Linux configuration stuffs
1return {
2 "goolord/alpha-nvim",
3 config = function()
4 local status_ok, alpha = pcall(require, "alpha")
5
6 if not status_ok then
7 return
8 end
9
10 local dashboard = require("alpha.themes.dashboard")
11 dashboard.section.header.val = {
12 [[ \`-._ __ ]],
13 [[ \\ `-..____,.' `. ]],
14 [[ :`. / \`. ]],
15 [[ : ) : : \ ]],
16 [[ ;' ' ; | : ]],
17 [[ ).. .. .:.`.; : ]],
18 [[ /::... .:::... ` ; ]],
19 [[ ; _ ' __ /:\ ]],
20 [[ `:o> /\o_> ;:. `. ]],
21 [[ `-`.__ ; __..--- /:. \ ]],
22 [[ === \_/ ;=====_.':. ; ]],
23 [[ ,/'`--'...`--.... ; ]],
24 [[ ; ┏┓╻┏━╸┏━┓╻ ╻╻┏┳┓ ; ]],
25 [[ .' ┃┗┫┣╸ ┃ ┃┃┏┛┃┃┃┃ ; ]],
26 [[ .' ╹ ╹┗━╸┗━┛┗┛ ╹╹ ╹ ; ]],
27 [[ .' .. , . ; ]],
28 [[ : ::.. / ;::. | ]],
29 [[ / `.;::. | ;:.. ; ]],
30 [[ : |:. : ;:. ; ]],
31 [[ : :: ;:.. |. ; ]],
32 [[ : :; :::....| | ]],
33 [[ /\ ,/ \ ;:::::; ; ]],
34 [[ .:. \:..| : ; '.--| ; ]],
35 [[ ::. :'' `-.,,; ;' ; ; ]],
36 [[.-'. _.'\ / `; \,__: \ ]],
37 [[`---' `----' ; / \,.,,,/ ]],
38 [[ `----`⠀⠀⠀⠀⠀⠀⠀⠀ ]],
39 }
40 dashboard.section.buttons.val = {
41 dashboard.button("n", " New file", ":ene <BAR> startinsert <CR>"),
42 dashboard.button("o", " Open file", ":Telescope oldfiles<CR>"),
43 dashboard.button("s", " Settings", ":e ~/.config/nvim<CR>"),
44 dashboard.button("q", " Quit", ":qa<CR>"),
45 }
46
47 dashboard.section.footer.opts.hl = "Type"
48 dashboard.section.header.opts.hl = "Include"
49 dashboard.section.buttons.opts.hl = "Keyword"
50
51 dashboard.opts.opts.noautocmd = true
52
53 alpha.setup(dashboard.opts)
54 end,
55}