From e345c0e155fbc4dd08bbb9fcf720d238443ce3af Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 19 Feb 2024 22:33:21 +0900 Subject: [PATCH] Testing --- .../common/software/cli/nixvim/alpha.nix | 32 +++++++------------ 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/home-manager/common/software/cli/nixvim/alpha.nix b/home-manager/common/software/cli/nixvim/alpha.nix index e5b26bb3..98ac1e71 100644 --- a/home-manager/common/software/cli/nixvim/alpha.nix +++ b/home-manager/common/software/cli/nixvim/alpha.nix @@ -7,10 +7,6 @@ val = 2; } { - opts = { - hl = "Type"; - position = "center"; - }; type = "text"; val = [ "███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗" @@ -20,6 +16,10 @@ "██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║" "╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝" ]; + opts = { + position = "center"; + hl = "Type"; + }; } { type = "padding"; @@ -29,24 +29,16 @@ 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[[ene]] end"; + opts.shortcut = "n"; } { - on_press = { - __raw = "function() vim.cmd[[qa]] end"; - }; - opts = { - shortcut = "q"; - }; type = "button"; val = " Quit Neovim"; + on_press.__raw = "function() vim.cmd[[qa]] end"; + opts.shortcut = "q"; } ]; } @@ -55,12 +47,12 @@ val = 2; } { - opts = { - hl = "Keyword"; - position = "center"; - }; type = "text"; val = "Inspiring quote here."; + opts = { + position = "center"; + hl = "Keyword"; + }; } ]; };