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

49 lines
2.2 KiB
Nix
Raw Normal View History

2024-06-19 12:55:40 +02:00
{ ... }: {
programs.nixvim.plugins.alpha = {
enable = true;
2024-06-19 12:55:40 +02:00
layout =
let
centeredText = {
2024-02-19 14:33:21 +01:00
position = "center";
2024-06-19 12:55:40 +02:00
hl = "@comment";
2024-02-19 14:33:21 +01:00
};
2024-06-19 12:55:40 +02:00
mkPadding = size: { type = "padding"; val = size; };
mkText = text: { type = "text"; val = text; opts = centeredText; };
2024-08-14 01:26:41 +02:00
# mkGroup = val: { inherit val; type = "group"; };
# mkGroupItem = desc: shortcut: {
# inherit shortcut desc;
# command = "";
# };
2024-06-19 12:55:40 +02:00
in
[
2024-06-27 08:49:40 +02:00
(mkPadding 6)
2024-06-19 12:55:40 +02:00
(mkText ''
'')
2024-06-27 08:49:40 +02:00
(mkPadding 4)
2024-06-19 12:55:40 +02:00
(mkText ''
"Gordon doesn't need to hear all this,
he's a highly trained professional"
- Dr. Coomer PhD, 2000
'')
];
};
}