LukeSmithxyz / st

Luke's fork of the suckless simple terminal (st) with vim bindings and Xresource compatibility.
MIT License
1.64k stars 1.01k forks source link

No background change possible #127

Closed infiltratorXYZ closed 5 years ago

infiltratorXYZ commented 5 years ago

Hi, I had installed st (from this repo), everything was fine, but for some reason image preview stopped working. Looking for a solution I uninstalled st and reinstalled it again. At the moment, images preview works pretty well, but background is always white. All colors change except the background. I'm using wpgtk (similar with pywal). It worked before, now it didn't. Using the .Xresources also has no effect.

Regular st works correctly.

Does anyone know where the problem may be?

infiltratorXYZ commented 5 years ago

Okay, I don't know how it works, but the problem is in *.alpha value. If it's commented everything works fine, but if I set different alpha values in .Xresources, then strange things happen. I had weird colors at different values - pink, white, black...

I can see the dependencies here, depending on what other xrdb settings are running and in what order. But on other terminals (and before reinstall) everything seems to be working properly.

EDIT: When I changed the value of *.alpha from 255 to 1.0, it seems to work much better.