Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

disable transparent background? #24

Open
prankousky opened this issue Mar 19, 2020 · 2 comments
Open

disable transparent background? #24

prankousky opened this issue Mar 19, 2020 · 2 comments

Comments

@prankousky
Copy link

Hi,

I just discovered wal.vim and really like the results; however, I don't want a transparent background. This can usually be resolved with

" some colorscheme
colorscheme monokai
" disable transparent background
set background=dark
" disable for "kitty" terminal as well
let &t_ut=''

in $MYVIMRC. However, when I put colorscheme wal, it will not work. I still have set background=dark and let &t_ut='' below colorscheme wal (just as I did with monokai), but the background will always be transparent.

I use picom (previously compton) as composite manager to get this transparent background for my terminal; however, vim is the only program I'd prefer not to have transparency, and usually this works great. Only this plugin does not respect the other settings. Can you please tell me what I need to change in order to have a dark background for vim even when using colorscheme wal?

Thank you for your help :)

@gingkapls
Copy link

You can change the pywal color scheme by going into your <pluginfolder>/wal.vim/colors/wal.vim
I use vim-plug so for me it is
$HOME/.vim/plugged/wal.vim/colors/wal.vim

and change Line 19
hi Normal ctermbg=NONE ctermfg=7
to
hi Normal ctermbg=0 ctermfg=7

@cprn
Copy link

cprn commented Nov 11, 2021

If you prefer to have it in your ~/.vimrc just add it after loading the scheme like so:

colorscheme wal
hi Normal ctermbg=0

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

No branches or pull requests

3 participants