Skip to content
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

widgets: add Shape + minor image improve #266

Merged
merged 5 commits into from
Apr 10, 2024
Merged

Conversation

bvr-yr
Copy link
Contributor

@bvr-yr bvr-yr commented Apr 9, 2024

that's to close #253

nothing special, except xray

well, despite it's stupid to punch a hole in background, someone may find it useful

I've been messaged to share a config from #247 video for cava bars, and I think updating labels every 33 ms is much more stupid :D

anyways, it is a harmless option after all

shape.mp4

dunno, looks ok

also added some minor stuff to Image

@Ligthiago
Copy link

Ligthiago commented Apr 9, 2024

Nice.
But I encounter a bug: if the height of shape smaller or equal to width (size = 400, 300 for example) and shape is rotated -there are weird artifact or borders, see picture. Optionally you have to set a big rounding to see a bug better

Similar to this has been on images before get fixed.

2024-04-09T16:32:12,661813850+04:00

@bvr-yr
Copy link
Contributor Author

bvr-yr commented Apr 9, 2024

aye just wanted to ask vaxry if I need to glClear here too, will add
(все понял)

@vaxerski
Copy link
Member

vaxerski commented Apr 9, 2024

я тоже понял

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
wiki mr pls

also where is the backdoor

@bvr-yr
Copy link
Contributor Author

bvr-yr commented Apr 9, 2024

maybe create FB no matter rotated or not? honestly looks a bit ugly on fade-in/fade-out when borderBox is bright and shape is dark (with alpha transition)

@vaxerski
Copy link
Member

you can, sure

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yah

@vaxerski vaxerski merged commit eb1123f into hyprwm:main Apr 10, 2024
1 check passed
@bvr-yr bvr-yr mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REQ] Add custom shape
3 participants