feat: Allow setting a new startup logo
This commit is contained in:
parent
4527769af4
commit
60e2a1e703
1 changed files with 21 additions and 9 deletions
|
|
@ -1,5 +1,24 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
plugins.startup = {
|
||||
options = {
|
||||
# TODO: Is this a good name for the option (top-level?) Or should we explore nesting of some sort?
|
||||
neoVimStartupLogo = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
# Use https://fsymbols.com/generators/carty/ to generate this art
|
||||
default = ''
|
||||
██████╗░███████╗░█████╗░░█████╗░██████╗░████████╗░░░████████╗███████╗░█████╗░██╗░░██╗
|
||||
██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝░░░╚══██╔══╝██╔════╝██╔══██╗██║░░██║
|
||||
██║░░██║█████╗░░██║░░╚═╝██║░░██║██████╔╝░░░██║░░░░░░░░░██║░░░█████╗░░██║░░╚═╝███████║
|
||||
██║░░██║██╔══╝░░██║░░██╗██║░░██║██╔══██╗░░░██║░░░░░░░░░██║░░░██╔══╝░░██║░░██╗██╔══██║
|
||||
██████╔╝███████╗╚█████╔╝╚█████╔╝██║░░██║░░░██║░░░██╗░░░██║░░░███████╗╚█████╔╝██║░░██║
|
||||
╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░╚═╝░░░╚══════╝░╚════╝░╚═╝░░╚═╝
|
||||
'';
|
||||
description = "Logo";
|
||||
};
|
||||
};
|
||||
|
||||
config.plugins.startup = {
|
||||
enable = true;
|
||||
|
||||
colors = {
|
||||
|
|
@ -15,14 +34,7 @@
|
|||
foldSection = false;
|
||||
title = "Header";
|
||||
margin = 5;
|
||||
content = [
|
||||
" ██████╗░███████╗░█████╗░░█████╗░██████╗░████████╗░░░████████╗███████╗░█████╗░██╗░░██╗"
|
||||
" ██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝░░░╚══██╔══╝██╔════╝██╔══██╗██║░░██║"
|
||||
" ██║░░██║█████╗░░██║░░╚═╝██║░░██║██████╔╝░░░██║░░░░░░░░░██║░░░█████╗░░██║░░╚═╝███████║"
|
||||
" ██║░░██║██╔══╝░░██║░░██╗██║░░██║██╔══██╗░░░██║░░░░░░░░░██║░░░██╔══╝░░██║░░██╗██╔══██║"
|
||||
" ██████╔╝███████╗╚█████╔╝╚█████╔╝██║░░██║░░░██║░░░██╗░░░██║░░░███████╗╚█████╔╝██║░░██║"
|
||||
" ╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░╚═╝░░░╚══════╝░╚════╝░╚═╝░░╚═╝"
|
||||
];
|
||||
content = lib.strings.splitString "\n" config.neoVimStartupLogo;
|
||||
highlight = "Statement";
|
||||
defaultColor = "";
|
||||
oldfilesAmount = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue