aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-02-17 23:47:22 +0200
committersrdusr <trevorgray@srdusr.com>2023-02-17 23:47:22 +0200
commit54bebc5e7efda92e636e25c77114b192d7c90546 (patch)
tree76f7803b5b861bd5e1f3c1437c4c41d06c87afc0 /lua/plugins
parentbe1f0b462c275e5ce92cab042621b71901a756a3 (diff)
downloaddotfiles-54bebc5e7efda92e636e25c77114b192d7c90546.tar.gz
dotfiles-54bebc5e7efda92e636e25c77114b192d7c90546.zip
Improved looks and functionality
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/dashboard.lua66
1 files changed, 63 insertions, 3 deletions
diff --git a/lua/plugins/dashboard.lua b/lua/plugins/dashboard.lua
index 8cc31df..7eb4814 100644
--- a/lua/plugins/dashboard.lua
+++ b/lua/plugins/dashboard.lua
@@ -1,4 +1,64 @@
-require('dashboard').setup {
- -- config
-}
+local db = require("dashboard")
+--vim.api.nvim_create_autocmd("VimEnter", {
+-- callback = function()
+-- -- disable line numbers
+-- vim.opt_local.number = false
+-- vim.opt_local.relativenumber = false
+-- -- always start in insert mode
+-- end,
+--})
+db.setup({
+ theme = "hyper",
+ config = {
+ header = {
+ [[ ███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗]],
+ [[ ████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║]],
+ [[ ██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║]],
+ [[ ██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║]],
+ [[ ██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║]],
+ [[ ╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝]],
+ },
+ disable_move = true,
+ shortcut = {
+ { desc = " Plugins", group = "@property", action = "PackerStatus", key = "p" },
+ {
+ desc = " Files",
+ group = "Label",
+ action = "Telescope find_files",
+ key = "f",
+ },
+ {
+ desc = " Text",
+ group = "DiagnosticHint",
+ action = "Telescope live_grep",
+ key = "t",
+ },
+ {
+ desc = " Scheme",
+ group = "Number",
+ action = "Telescope colorscheme",
+ key = "s",
+ },
+ },
+ },
+ hide = {
+ statusline = false,
+ tabline = false,
+ winbar = false,
+ },
+ -- preview = {
+-- command, -- preview command
+-- file_path, -- preview file path
+-- file_height, -- preview file height
+-- file_width, -- preview file width
+-- },
+-- footer = {} --your footer
+})
+--vim.cmd([[
+-- autocmd FileType dashboard :highlight DashboardHeader guifg='#b2b2b2'
+-- autocmd FileType dashboard :highlight DashboardCenter guifg='#5f8700'
+-- autocmd FileType dashboard :highlight DashboardCenterIcon guifg='#0087af'
+-- autocmd FileType dashboard :highlight DashboardShortCut guifg='#ffd7ff'
+-- autocmd FileType dashboard :highlight DashboardFooter guifg='#878787'
+--]])