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"; + }; } ]; };