-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option to use hexcodes instead of img path #195
Conversation
From my understanding, you are building an RBG image and then sending it to the daemon. I think it would be better if you were to simply use a Clear command instead. Clear will accept an RGB and set it all up directly in the daemon. It would be a lot more efficient, and I think the implementation would be cleaner too. Also, there would be no need to cache it. |
but clear doesnt support transitions nor cache, this wud be useful when u want the bg to be a single color but still want transitions and have it be cached |
ah, I see, makes sense then |
Hey, @flick0. Sorry it took me so long to review it in detail, I was fixing some other more pressing bugs first. In any case, I've tried testing this and got:
|
Wierd, I'm assuming that's because of the quotes? It'll take a while for me to check it tho since I'm not home |
No, I don't think so. The error seems to be coming from the |
sorry took so long to fix this, was kinda busy. anyways, i wasnt able to repro the error you got but it should now build a proper image instead of resizing a 1x1 img |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small things I would do differently, but feel free to ignore these.
But in general I like this :)
Co-authored-by: Akida31 <[email protected]>
Co-authored-by: Akida31 <[email protected]>
@LGFae what do u think about aliasing |
I think that's exactly what we should do. If you think this PR is already too big, we can leave it for another PR instead. |
ill do it on a new pr later |
can also fix #194
you can now pass hexcodes(
0xrrggbb
) instead of the img paththe colors set through this are cached aswell