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

Options to put custom text before week_header

Open Lucien0907 opened this issue 1 year ago • 5 comments

I was trying to add my custom ascii art above the week_day header however the current generate_header function only allows concatenating after the default or week_header. Would be nice to have an option to allow custom header before the week_header.

Lucien0907 avatar Oct 02 '24 15:10 Lucien0907

I'm also experiencing this problem and looking for a solution:)

Chever-John avatar Oct 10 '24 12:10 Chever-John

I was trying to add my custom ascii art above the week_day header however the current generate_header function only allows concatenating after the default or week_header. Would be nice to have an option to allow custom header before the week_header.

image You mean like this?

MrCherub avatar Oct 10 '24 23:10 MrCherub

@MrCherub Tks for replying.

Maybe He/I want to the following effect:

image

Yes, there are always people want both(like me).

Chever-John avatar Oct 11 '24 02:10 Chever-John

@MrCherub Tks for replying.

Maybe He/I want to the following effect:

image

Yes, there are always people want both(like me).

You'll have to use hyper and you'll have to copy and paste that into your code? What problems are you having?

MrCherub avatar Oct 11 '24 04:10 MrCherub

@MrCherub Tks for replying. Maybe He/I want to the following effect: image Yes, there are always people want both(like me).

You'll have to use hyper and you'll have to copy and paste that into your code? What problems are you having?

Yeah similar to this. I currently have a custom header and I want to put it on top of the week_header. However the current plugin seems to only support have the week_header on top and append text after it. Actually I'm happy with the layout now (with week_header on top of my custom header). But still would be nice to have a bit more customisability to it and it seems pretty easy to implement. I have no experience with coding in lua other than configuring my neovim but I might try to do a PR when I have time.

Lucien0907 avatar Oct 12 '24 23:10 Lucien0907