Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Header Titles #496

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Custom Header Titles #496

wants to merge 4 commits into from

Conversation

vamuscari
Copy link

Custom header titles generated by FIGlet font and parser.
Moved the header file down one and added a Fonts folder.

made header config less specific by giving type

config = {
    header = {
        type = "week" -- or default or custom
    }
}

Example Custom Header

config = {
    header = {
        type = "Custom"
        text = "Goodby World"
        font = "ANSI Shadow"
    }
}

I would like the header to eventually reflect the project names

van muscari and others added 4 commits November 16, 2024 08:04
Added Folder for fonts
Moved down header to be able to reach fonts easily
Added figlet font parser to the header file
@vamuscari
Copy link
Author

parsing figlet with a pulled in environment variable works.
Added a function in utils for grabbing path. I'm not sure if there was already a way to do this but it works.
The font parse works for simple spaced font but it wont do anything more complicated than that.
I haven't seen any noticeable slowdowns but I'm sure some optimizations can be made. caching rendered names would be a good start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant