diff options
| author | triethyl <triethylammonium@pm.me> | 2025-07-09 01:02:02 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-07-09 01:02:02 -0400 |
| commit | d65a4b2e6fb66f51b21da8d5397f89ea1c2aaedc (patch) | |
| tree | 2ce7c740a6b05f90fc323489bff1e5ec82024ea2 /pkgs | |
| parent | ed82f622069233e7b9f817e687865f19fb88b8bb (diff) | |
working on dashboard
Former-commit-id: 10503c9edf27043e403a17ac693af14e5f663537
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/custom-neovim/config/init.lua | 4 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/art.lua | 2 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/dashboard.lua | 3 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/mini/starter.lua | 17 | ||||
| -rw-r--r-- | pkgs/custom-neovim/default.nix | 1 |
5 files changed, 24 insertions, 3 deletions
diff --git a/pkgs/custom-neovim/config/init.lua b/pkgs/custom-neovim/config/init.lua index c1007bb..65cedab 100644 --- a/pkgs/custom-neovim/config/init.lua +++ b/pkgs/custom-neovim/config/init.lua @@ -13,7 +13,9 @@ require("neovide") require("plugins.lualine") require("plugins.tabby") require("plugins.telescope") -require("plugins.alpha") +require("plugins.dashboard") +-- require("plugins.mini.starter") +-- require("plugins.alpha") -- LSP Plugins: require("plugins.lspconfig") diff --git a/pkgs/custom-neovim/config/lua/art.lua b/pkgs/custom-neovim/config/lua/art.lua index 1927173..ae5b8c9 100644 --- a/pkgs/custom-neovim/config/lua/art.lua +++ b/pkgs/custom-neovim/config/lua/art.lua @@ -252,8 +252,6 @@ art = { misc = { hydra = { [[ ]], - [[ ]], - [[ ]], [[ ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ]], [[ ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ]], [[ ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ]], diff --git a/pkgs/custom-neovim/config/lua/plugins/dashboard.lua b/pkgs/custom-neovim/config/lua/plugins/dashboard.lua new file mode 100644 index 0000000..4824c04 --- /dev/null +++ b/pkgs/custom-neovim/config/lua/plugins/dashboard.lua @@ -0,0 +1,3 @@ +require('dashboard').setup { + +} diff --git a/pkgs/custom-neovim/config/lua/plugins/mini/starter.lua b/pkgs/custom-neovim/config/lua/plugins/mini/starter.lua index 8b13789..c05483a 100644 --- a/pkgs/custom-neovim/config/lua/plugins/mini/starter.lua +++ b/pkgs/custom-neovim/config/lua/plugins/mini/starter.lua @@ -1 +1,18 @@ +local starter = require('mini.starter') +local my_items = { + { name = 'Item #1 from function', action = "echo 'Item #1'", section = '' }, + { name = [[Another item in 'Section 1']], action = 'lua print(math.random() + 10)', section = '' }, +} +starter.setup({ + evaluate_single = true, + header = table.concat(art.misc.hydra, "\n"), + footer = "", + items = my_items, + content_hooks = { + -- starter.gen_hook.adding_bullet(), + -- starter.gen_hook.indexing('all', { 'Builtin actions' }), + starter.gen_hook.aligning('center', 'center'), + starter.gen_hook.padding(0, 0), + }, +}) diff --git a/pkgs/custom-neovim/default.nix b/pkgs/custom-neovim/default.nix index d210cdf..61f69ef 100644 --- a/pkgs/custom-neovim/default.nix +++ b/pkgs/custom-neovim/default.nix @@ -20,6 +20,7 @@ inputs.mnw.lib.wrap pkgs { telescope-nvim # Picker. plenary-nvim # General Library. alpha-nvim # Dashboard. + dashboard-nvim # Colorschemes oxocarbon-nvim # IBM Carbon themes. |
