2024-02-19 07:03:29 +01:00
|
|
|
{...}: {
|
|
|
|
programs.nixvim.plugins.alpha = {
|
|
|
|
enable = true;
|
|
|
|
layout = [
|
|
|
|
{
|
2024-02-19 14:27:13 +01:00
|
|
|
type = "padding";
|
|
|
|
val = 2;
|
|
|
|
}
|
|
|
|
{
|
2024-02-19 07:03:29 +01:00
|
|
|
opts = {
|
2024-02-19 14:27:13 +01:00
|
|
|
hl = "Type";
|
|
|
|
position = "center";
|
2024-02-19 07:03:29 +01:00
|
|
|
};
|
2024-02-19 14:27:13 +01:00
|
|
|
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;
|
2024-02-19 07:03:29 +01:00
|
|
|
}
|
|
|
|
{
|
|
|
|
opts = {
|
2024-02-19 14:27:13 +01:00
|
|
|
hl = "Keyword";
|
|
|
|
position = "center";
|
2024-02-19 07:03:29 +01:00
|
|
|
};
|
2024-02-19 14:27:13 +01:00
|
|
|
type = "text";
|
|
|
|
val = "Inspiring quote here.";
|
2024-02-19 07:03:29 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|