Closed knezi closed 4 months ago
foot uses inverse logic for opacity 0 is transparent
Uhhh wot, okay maybe it could be cuz it is 1:20 am for me but i'm pretty confident that IS how pywal inteprets the opacity arg, as internally is a percentage, so that 0 is transparent and 100 is solid.
Then again full disclaimer i do not use the alpha value from pywal for anything, the terminal i use doesn't even have that concept as i use xterm (yeah, really, in 2020+4 i use a terminal older than x11 itself...) instead is my compsitor that does transparency and round corners...
Yes, you're right. I just thought that 0 is opaque, because wiki says it's the default, but it seems that default alpha is actually 100 (https://github.com/eylles/pywal16/blob/master/pywal/util.py#L31). I've just realised that foot needs values from 0 to 1, so it still won't work.
Either way, I don't use it, so don't really care. Was just asking for the sake of completeness.
Title says it all.
Just a sidenote, foot uses inverse logic for opacity (0 is transparent). I can send a PR allowing to change behaviour of pywal16. Something like
{alpha.inverse}
?