From 552e8b0a8551acc43292d06258829fe0621980e2 Mon Sep 17 00:00:00 2001 From: Jake Hamilton Date: Fri, 7 Jun 2024 22:41:24 +0100 Subject: [PATCH] plugins/dashboard: add additional examples --- plugins/utils/dashboard.nix | 11 +++++++++++ tests/test-sources/plugins/utils/dashboard.nix | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/plugins/utils/dashboard.nix b/plugins/utils/dashboard.nix index 93e7c821..c139841e 100644 --- a/plugins/utils/dashboard.nix +++ b/plugins/utils/dashboard.nix @@ -91,6 +91,15 @@ helpers.neovim-plugin.mkNeovimPlugin config { project.enable = false; mru.limit = 20; + header = [ + "███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗" + "████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║" + "██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║" + "██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║" + "██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║" + "╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝" + ]; + shortcut = [ { icon = " "; @@ -113,6 +122,8 @@ helpers.neovim-plugin.mkNeovimPlugin config { key = "d"; } ]; + + footer = [ "Made with ❤️" ]; }; }; diff --git a/tests/test-sources/plugins/utils/dashboard.nix b/tests/test-sources/plugins/utils/dashboard.nix index 9631aa51..971a4941 100644 --- a/tests/test-sources/plugins/utils/dashboard.nix +++ b/tests/test-sources/plugins/utils/dashboard.nix @@ -130,6 +130,15 @@ project.enable = false; mru.limit = 20; + header = [ + "███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗" + "████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║" + "██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║" + "██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║" + "██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║" + "╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝" + ]; + shortcut = [ { icon = " "; @@ -152,6 +161,8 @@ key = "d"; } ]; + + footer = [ "Made with ❤️" ]; }; }; };