eylles / pywal16

16 colors fork of pywal
MIT License
157 stars 24 forks source link

add template for terminal emulator foot #59

Closed knezi closed 2 months ago

knezi commented 2 months ago

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}?

eylles commented 2 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...

knezi commented 2 months ago

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.