diff options
Diffstat (limited to 'common/home/programs/nixvim/plugins/dashboard.nix')
| -rw-r--r-- | common/home/programs/nixvim/plugins/dashboard.nix | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/common/home/programs/nixvim/plugins/dashboard.nix b/common/home/programs/nixvim/plugins/dashboard.nix new file mode 100644 index 0000000..77a9f3e --- /dev/null +++ b/common/home/programs/nixvim/plugins/dashboard.nix @@ -0,0 +1,68 @@ +{ ... }: +{ + enable = true; + settings = { + change_to_vcs_root = true; + config = { + footer = [ "" ]; + + header = [ + "███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗" + "████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║" + "██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║" + "██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║" + "██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║" + "╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝" + ]; + + mru = { + limit = 10; + }; + + project = { + enable = true; + }; + + packages.enable = false; + + shortcut = [ + { + action = { + __raw = '' + function(path) + vim.cmd('Telescope find_files') + end + ''; + }; + desc = "Files"; + group = "Label"; + icon = " "; + icon_hl = "@variable"; + key = "f"; + } + { + action = { + __raw = '' + function() + vim.cmd('cd ~/global/system/config'); vim.cmd('Telescope find_files') + end + ''; + }; + icon = " "; + icon_hl = "@variable"; + desc = "System Config"; + group = "Number"; + key = "c"; + } + ]; + + hide = [ + "statusline" + "tabline" + "winbar" + ]; + }; + theme = "hyper"; + }; + }; + |