kekl
This commit is contained in:
71
modules/nix/nvim/alpha.nix
Normal file
71
modules/nix/nvim/alpha.nix
Normal file
@ -0,0 +1,71 @@
|
||||
{ config, pkgs, nixvim, ... }:
|
||||
{
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
alpha = {
|
||||
layout = [
|
||||
{
|
||||
type = "padding";
|
||||
val = 2;
|
||||
}
|
||||
{
|
||||
opts = {
|
||||
hl = "Type";
|
||||
position = "center";
|
||||
};
|
||||
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;
|
||||
}
|
||||
{
|
||||
opts = {
|
||||
hl = "Keyword";
|
||||
position = "center";
|
||||
};
|
||||
type = "text";
|
||||
val = "Inspiring quote here.";
|
||||
}
|
||||
]
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -9,7 +9,7 @@
|
||||
autoEnableSources = true;
|
||||
cmdline = {
|
||||
completion = {
|
||||
completeopt = { "menu", "menuone", "noinsert", "noselect" }
|
||||
completeopt = [ "menu" "menuone" "noinsert" "noselect" ];
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
|
@ -7,7 +7,7 @@
|
||||
./neotree.nix
|
||||
./opts.nix
|
||||
./lualine.nix
|
||||
|
||||
./alpha.nix
|
||||
];
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
|
Reference in New Issue
Block a user