add startup dashboard
This commit is contained in:
parent
2b46577f1f
commit
47a18ff34c
1 changed files with 75 additions and 0 deletions
75
config/plugins/ui/startup.nix
Normal file
75
config/plugins/ui/startup.nix
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
{
|
||||||
|
plugins.startup = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
colors = {
|
||||||
|
background = "#ffffff";
|
||||||
|
foldedSection = "#ffffff";
|
||||||
|
};
|
||||||
|
|
||||||
|
sections = {
|
||||||
|
header = {
|
||||||
|
type = "text";
|
||||||
|
oldfilesDirectory = false;
|
||||||
|
align = "center";
|
||||||
|
foldSection = false;
|
||||||
|
title = "Header";
|
||||||
|
margin = 5;
|
||||||
|
content = [
|
||||||
|
" ██████╗░███████╗░█████╗░░█████╗░██████╗░████████╗░░░████████╗███████╗░█████╗░██╗░░██╗"
|
||||||
|
" ██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝░░░╚══██╔══╝██╔════╝██╔══██╗██║░░██║"
|
||||||
|
" ██║░░██║█████╗░░██║░░╚═╝██║░░██║██████╔╝░░░██║░░░░░░░░░██║░░░█████╗░░██║░░╚═╝███████║"
|
||||||
|
" ██║░░██║██╔══╝░░██║░░██╗██║░░██║██╔══██╗░░░██║░░░░░░░░░██║░░░██╔══╝░░██║░░██╗██╔══██║"
|
||||||
|
" ██████╔╝███████╗╚█████╔╝╚█████╔╝██║░░██║░░░██║░░░██╗░░░██║░░░███████╗╚█████╔╝██║░░██║"
|
||||||
|
" ╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░╚═╝░░░╚══════╝░╚════╝░╚═╝░░╚═╝"
|
||||||
|
];
|
||||||
|
highlight = "Statement";
|
||||||
|
defaultColor = "";
|
||||||
|
oldfilesAmount = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
body = {
|
||||||
|
type = "mapping";
|
||||||
|
oldfilesDirectory = false;
|
||||||
|
align = "center";
|
||||||
|
foldSection = false;
|
||||||
|
title = "Menu";
|
||||||
|
margin = 5;
|
||||||
|
content = [
|
||||||
|
[
|
||||||
|
" Find File"
|
||||||
|
"Telescope find_files"
|
||||||
|
"<leader>ff"
|
||||||
|
]
|
||||||
|
[
|
||||||
|
" Find Word"
|
||||||
|
"Telescope live_grep"
|
||||||
|
"<leader>fr"
|
||||||
|
]
|
||||||
|
[
|
||||||
|
" Recent Files"
|
||||||
|
"Telescope oldfiles"
|
||||||
|
"<leader>fg"
|
||||||
|
]
|
||||||
|
[
|
||||||
|
" File Browser"
|
||||||
|
"Telescope file_browser"
|
||||||
|
"<leader>fe"
|
||||||
|
]
|
||||||
|
];
|
||||||
|
highlight = "string";
|
||||||
|
defaultColor = "";
|
||||||
|
oldfilesAmount = 0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
options = {
|
||||||
|
paddings = [1 3];
|
||||||
|
};
|
||||||
|
|
||||||
|
parts = [
|
||||||
|
"header"
|
||||||
|
"body"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue