bluloco.nvim icon indicating copy to clipboard operation
bluloco.nvim copied to clipboard

background color of WinSeparator

Open tthkbw opened this issue 1 year ago • 8 comments

I use blueloco-dark and lualine with 'auto' setting. The background of the WinSeparator is very close to the background color of the windows so it is difficult for me to see that I have a split window.

I have tried to change this using:

hi WinSeparator ctermbg = #ffffff

as an example. I have termguicolors set. However, I can't apparently change the WinSeparator background color.

How do I make the WinSeparator a bit brighter so it is more obvious to my old eyes?

tthkbw avatar Mar 24 '23 17:03 tthkbw

Try guibg instead of ctermbg. I'm on my phone right now and will only have time to look into it in the coming week...

uloco avatar Mar 25 '23 19:03 uloco

@tthkbw Did this work for you?

uloco avatar Apr 18 '23 09:04 uloco

Not really. I am primarily talking about the horizontal split, which is controlled by the status line I use. My WinSeparator changes do change the color of the vertical separator as expected, but the StatusLine remains the same. I looked at the StatusLine stuff and had no luck making it more apparent. I gave up and went on to more important things.

Thanks for checking.

tthkbw avatar Apr 18 '23 14:04 tthkbw

What statusline plugin are you using, if any?

uloco avatar May 09 '23 07:05 uloco

Thanks for the comment. This got me to thinking and I have solved the problem.

I use lualine (https://github.com/nvim-lualine/lualine.nvim) and had the theme set to 'auto'. I scanned through all the available themes and settled on 'papercolor_light'. Good contrast when the pane is active with a distinctive blue background that contrasts well with my dark background. When the window is not active, the background of the statusline changes to white and is nicely visible.

Problem solved!

And, this is not a bluloco problem.

tthkbw avatar May 09 '23 14:05 tthkbw

But I do theme the bluloco statusline in lualine. That got me thinking too. So maybe I can improve this in the lualine config for bluloco aswell. thanks

uloco avatar May 09 '23 15:05 uloco

Yes, I do see that now. the problem for me is that I want contrast in the status line to emphasize the split and its location.

Lualine blanks the information on mode and so on when the window is inactive, which leaves the dark color background as the status line color and I can't distinguish it very well.

Maybe you should allow configuring the light lualine setting even with dark backgrounds, a vice versa.

My old eyes love contrast, one of the reasons I like bluloco.

tthkbw avatar May 09 '23 15:05 tthkbw

Oh that's not a bad idea at all. I'll see what i can do

uloco avatar May 09 '23 15:05 uloco

I tried to do it but it was just too distracting imo, sorry.

uloco avatar Jun 08 '24 14:06 uloco