nix/home-manager/common/software/cli/nixvim/alpha.nix

58 lines
1.7 KiB
Nix
Raw Normal View History

{...}: {
programs.nixvim.plugins.alpha = {
enable = true;
layout = [
{
2024-02-19 14:27:13 +01:00
type = "padding";
val = 2;
}
{
type = "text";
val = [
2024-02-19 14:34:46 +01:00
" "
" "
" "
" "
" "
" "
2024-02-19 14:27:13 +01:00
];
2024-02-19 14:33:21 +01:00
opts = {
position = "center";
hl = "Type";
};
2024-02-19 14:27:13 +01:00
}
{
type = "padding";
val = 2;
}
{
type = "group";
val = [
{
2024-02-19 14:34:46 +01:00
shortcut = "e";
desc = " New file";
command = "<CMD>ene <CR>";
2024-02-19 14:27:13 +01:00
}
{
2024-02-19 14:34:46 +01:00
shortcut = "SPC q";
desc = " Quit Neovim";
command = ":qa<CR>";
2024-02-19 14:27:13 +01:00
}
];
}
{
type = "padding";
val = 2;
}
{
2024-02-19 14:33:21 +01:00
type = "text";
val = "Inspiring quote here.";
opts = {
2024-02-19 14:27:13 +01:00
position = "center";
2024-02-19 14:33:21 +01:00
hl = "Keyword";
};
}
];
};
}