diff --git a/home-manager/common/software/cli/nixvim/alpha.nix b/home-manager/common/software/cli/nixvim/alpha.nix index 98ac1e71..1a5df753 100644 --- a/home-manager/common/software/cli/nixvim/alpha.nix +++ b/home-manager/common/software/cli/nixvim/alpha.nix @@ -9,12 +9,12 @@ { type = "text"; val = [ - "███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗" - "████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║" - "██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║" - "██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║" - "██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║" - "╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝" + " ███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗ " + " ████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║ " + " ██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║ " + " ██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║ " + " ██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║ " + " ╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ " ]; opts = { position = "center"; @@ -29,16 +29,14 @@ type = "group"; val = [ { - type = "button"; - val = " New file"; - on_press.__raw = "function() vim.cmd[[ene]] end"; - opts.shortcut = "n"; + shortcut = "e"; + desc = " New file"; + command = "ene "; } { - type = "button"; - val = " Quit Neovim"; - on_press.__raw = "function() vim.cmd[[qa]] end"; - opts.shortcut = "q"; + shortcut = "SPC q"; + desc = " Quit Neovim"; + command = ":qa"; } ]; }