dashboard-nvim icon indicating copy to clipboard operation
dashboard-nvim copied to clipboard

Custom Header Titles

Open vamuscari opened this issue 1 year ago • 1 comments
trafficstars

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

vamuscari avatar Nov 16 '24 13:11 vamuscari

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.

vamuscari avatar Nov 20 '24 04:11 vamuscari