summaryrefslogtreecommitdiff
path: root/lua/plugins/alpha.lua
blob: 0a769c704ab17052865c2fc31cf5b524a8f819a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
return {
  "goolord/alpha-nvim",
  dependencies = { 'nvim-tree/nvim-web-devicons' },
  config = function()
    local theme = require("alpha.themes.startify")
    theme.file_icons.provider = "devicons"
    theme.section.header.val = {
      [[       ████ ██████           █████      ██                     ]],
      [[      ███████████             █████                             ]],
      [[      █████████ ███████████████████ ███   ███████████   ]],
      [[     █████████  ███    █████████████ █████ ██████████████   ]],
      [[    █████████ ██████████ █████████ █████ █████ ████ █████   ]],
      [[  ███████████ ███    ███ █████████ █████ █████ ████ █████  ]],
      [[ ██████  █████████████████████ ████ █████ █████ ████ ██████ ]],
    }
    require("alpha").setup(theme.config)
  end,
  keys = {
    { "<leader>m", ":Alpha<CR>" }
  }
}