mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
103 lines
2.6 KiB
Nix
103 lines
2.6 KiB
Nix
{
|
|
theme = {
|
|
plugins.alpha = {
|
|
enable = true;
|
|
theme = "dashboard";
|
|
};
|
|
};
|
|
|
|
theme-lua = {
|
|
plugins.alpha = {
|
|
enable = true;
|
|
theme.__raw = "require'alpha.themes.startify'.config";
|
|
};
|
|
};
|
|
|
|
terminal = {
|
|
plugins.alpha = {
|
|
enable = true;
|
|
layout = [
|
|
{
|
|
type = "terminal";
|
|
command = "thisisfine";
|
|
width = 46;
|
|
height = 25;
|
|
opts = {
|
|
redraw = true;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
custom-layout = {
|
|
plugins.alpha = {
|
|
enable = true;
|
|
|
|
iconsEnabled = true;
|
|
layout = [
|
|
{
|
|
type = "padding";
|
|
val = 2;
|
|
}
|
|
{
|
|
type = "text";
|
|
val = [
|
|
"███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗"
|
|
"████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║"
|
|
"██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║"
|
|
"██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║"
|
|
"██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║"
|
|
"╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
|
];
|
|
opts = {
|
|
position = "center";
|
|
hl = "Type";
|
|
};
|
|
}
|
|
{
|
|
type = "padding";
|
|
val = 2;
|
|
}
|
|
{
|
|
type = "group";
|
|
val = [
|
|
{
|
|
type = "button";
|
|
val = " New file";
|
|
on_press.__raw = "function() vim.cmd[[ene]] end";
|
|
opts.shortcut = "n";
|
|
}
|
|
{
|
|
type = "button";
|
|
val = " Quit Neovim";
|
|
on_press.__raw = "function() vim.cmd[[qa]] end";
|
|
opts.shortcut = "q";
|
|
}
|
|
];
|
|
}
|
|
{
|
|
type = "padding";
|
|
val = 2;
|
|
}
|
|
{
|
|
type = "text";
|
|
val = "Inspiring quote here.";
|
|
opts = {
|
|
position = "center";
|
|
hl = "Keyword";
|
|
};
|
|
}
|
|
];
|
|
opts = {
|
|
margin = 0;
|
|
noautocmd = true;
|
|
|
|
keymap = {
|
|
press = "<CR>";
|
|
press_queue = "<M-CR>";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|