From 2197686753154105c1674ba0009ed921af9a2458 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 19 Feb 2024 22:27:13 +0900 Subject: [PATCH] Update alpha layout --- .../common/software/cli/nixvim/alpha.nix | 108 +++++++++--------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/home-manager/common/software/cli/nixvim/alpha.nix b/home-manager/common/software/cli/nixvim/alpha.nix index a2c89152..e5b26bb3 100644 --- a/home-manager/common/software/cli/nixvim/alpha.nix +++ b/home-manager/common/software/cli/nixvim/alpha.nix @@ -2,66 +2,66 @@ programs.nixvim.plugins.alpha = { enable = true; layout = [ - { - type = "padding"; - val = 2; - } - { - opts = { - hl = "Type"; - position = "center"; - }; - type = "text"; - val = [ - "███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗" - "████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║" - "██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║" - "██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║" - "██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║" - "╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝" - ]; - } - { - type = "padding"; - val = 2; - } - { - type = "group"; - val = [ { - on_press = { - __raw = "function() vim.cmd[[ene]] end"; - }; - opts = { - shortcut = "n"; - }; - type = "button"; - val = " New file"; + type = "padding"; + val = 2; } { - on_press = { - __raw = "function() vim.cmd[[qa]] end"; - }; opts = { - shortcut = "q"; + hl = "Type"; + position = "center"; }; - type = "button"; - val = " Quit Neovim"; + type = "text"; + val = [ + "███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗" + "████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║" + "██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║" + "██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║" + "██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║" + "╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝" + ]; + } + { + type = "padding"; + val = 2; + } + { + type = "group"; + val = [ + { + on_press = { + __raw = "function() vim.cmd[[ene]] end"; + }; + opts = { + shortcut = "n"; + }; + type = "button"; + val = " New file"; + } + { + on_press = { + __raw = "function() vim.cmd[[qa]] end"; + }; + opts = { + shortcut = "q"; + }; + type = "button"; + val = " Quit Neovim"; + } + ]; + } + { + type = "padding"; + val = 2; + } + { + opts = { + hl = "Keyword"; + position = "center"; + }; + type = "text"; + val = "Inspiring quote here."; } - ]; - } - { - type = "padding"; - val = 2; - } - { - opts = { - hl = "Keyword"; - position = "center"; - }; - type = "text"; - val = "Inspiring quote here."; - } ]; }; }