mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-23 20:25:08 +02:00
plugins/alpha: refactor
This commit is contained in:
parent
c29a33d38a
commit
9e04eb3c3c
2 changed files with 124 additions and 135 deletions
|
@ -1,11 +1,22 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.alpha.enable = true;
|
||||
};
|
||||
|
||||
default = {
|
||||
theme = {
|
||||
plugins.alpha = {
|
||||
enable = true;
|
||||
theme = "dashboard";
|
||||
};
|
||||
};
|
||||
|
||||
theme-lua = {
|
||||
plugins.alpha = {
|
||||
enable = true;
|
||||
theme.__raw = "require'alpha.themes.startify'.config";
|
||||
};
|
||||
};
|
||||
|
||||
custom-layout = {
|
||||
plugins.alpha = {
|
||||
enable = true;
|
||||
|
||||
iconsEnabled = true;
|
||||
layout = [
|
||||
{
|
||||
|
@ -15,12 +26,12 @@
|
|||
{
|
||||
type = "text";
|
||||
val = [
|
||||
" ███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗ "
|
||||
" ████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║ "
|
||||
" ██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║ "
|
||||
" ██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║ "
|
||||
" ██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║ "
|
||||
" ╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ "
|
||||
"███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗"
|
||||
"████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║"
|
||||
"██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║"
|
||||
"██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║"
|
||||
"██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║"
|
||||
"╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
||||
];
|
||||
opts = {
|
||||
position = "center";
|
||||
|
@ -59,6 +70,15 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
opts = {
|
||||
margin = 0;
|
||||
noautocmd = true;
|
||||
|
||||
keymap = {
|
||||
press = "<CR>";
|
||||
press_queue = "<M-CR>";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue