57 lines
1.7 KiB
Nix
57 lines
1.7 KiB
Nix
{...}: {
|
|
programs.nixvim.plugins.alpha = {
|
|
enable = true;
|
|
layout = [
|
|
{
|
|
type = "padding";
|
|
val = 2;
|
|
}
|
|
{
|
|
type = "text";
|
|
val = [
|
|
" ███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗ "
|
|
" ████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║ "
|
|
" ██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║ "
|
|
" ██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║ "
|
|
" ██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║ "
|
|
" ╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ "
|
|
];
|
|
opts = {
|
|
position = "center";
|
|
hl = "Type";
|
|
};
|
|
}
|
|
{
|
|
type = "padding";
|
|
val = 2;
|
|
}
|
|
{
|
|
type = "group";
|
|
val = [
|
|
{
|
|
shortcut = "e";
|
|
desc = " New file";
|
|
command = "<CMD>ene <CR>";
|
|
}
|
|
{
|
|
shortcut = "SPC q";
|
|
desc = " Quit Neovim";
|
|
command = ":qa<CR>";
|
|
}
|
|
];
|
|
}
|
|
{
|
|
type = "padding";
|
|
val = 2;
|
|
}
|
|
{
|
|
type = "text";
|
|
val = "Inspiring quote here.";
|
|
opts = {
|
|
position = "center";
|
|
hl = "Keyword";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|