Update alpha layout

This commit is contained in:
albert 2024-02-19 22:27:13 +09:00
parent 0ed3f5543e
commit 2197686753
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -2,66 +2,66 @@
programs.nixvim.plugins.alpha = { programs.nixvim.plugins.alpha = {
enable = true; enable = true;
layout = [ layout = [
{
type = "padding";
val = 2;
}
{
opts = {
hl = "Type";
position = "center";
};
type = "text";
val = [
" "
" "
" "
" "
" "
" "
];
}
{
type = "padding";
val = 2;
}
{
type = "group";
val = [
{ {
on_press = { type = "padding";
__raw = "function() vim.cmd[[ene]] end"; val = 2;
};
opts = {
shortcut = "n";
};
type = "button";
val = " New file";
} }
{ {
on_press = {
__raw = "function() vim.cmd[[qa]] end";
};
opts = { opts = {
shortcut = "q"; hl = "Type";
position = "center";
}; };
type = "button"; type = "text";
val = " Quit Neovim"; 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.";
} }
];
}
{
type = "padding";
val = 2;
}
{
opts = {
hl = "Keyword";
position = "center";
};
type = "text";
val = "Inspiring quote here.";
}
]; ];
}; };
} }