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

Antialiasing on rounded corners #7

Closed
liquidev opened this issue Dec 12, 2019 · 1 comment
Closed

Antialiasing on rounded corners #7

liquidev opened this issue Dec 12, 2019 · 1 comment

Comments

@liquidev
Copy link

I'm submitting a…

[ ] Bug
[x] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

The rounded edges are ugly and sharp.

Desired Behavior

I'd like to have a setting that makes the rounded corners nicely antialiased, similar to what polybar offers.

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.17.1 (2019-08-30) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.17.1 (2019-08-30) (pid 1182)abort…)
Loaded i3 config: /home/daknus/.config/i3/config (Last modified: Thu 12 Dec 2019 08:56:21 PM CET, 198 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3
- Linux Distribution & Version: Manjaro
- Are you using a compositor (e.g., xcompmgr or compton): tryone144/compton
@resloved
Copy link
Owner

While there are ways to make the rounded corners of borders anti-aliased it wouldn't be possible to round the actual window with anti-aliasing. It's only possible to do on the borders because they are drawn, while the rounding the windows requires masking them which doesn't allow for any level of opacity. I'd rather use the same method for both the window and the border to remain consistent, but I'm sure someone else could figure it out.

Alternatively you can take a look at the work being done on the compton fork picom. It isn't a full proof solution, but it makes the AA corners you're looking for.

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

No branches or pull requests

2 participants