Skip to content

i3-gaps with rounded corners is now in the AUR

Hi, i have just made the aur package for i3-gaps with rounded corners and thought that you guys might like to know.

The package is called 'i3-gaps-rounded-git'.

I have only tested it on my machine so if it fails on yours then leave a comment via the AUR or add an issue to any of my github repositories.

To enable the rounded feature just add this to your config: border_radius [amount]

I personally think that 10 is a good amount.

EDIT: If you installed it when the name was 'i3-gaps-rounded' then please install 'i3-gaps-rounded-git' as the original one will likely be deleted. It will also include a better written PKGBUILD.

AUR link: https://aur.archlinux.org/packages/i3-gaps-rounded-git/

GitHub link: https://github.com/Airblader/i3/pull/294#issuecomment-518026694

Edited 7 Aug 2019. We only hold this version.

173 points36 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
173 · 100% up
Kind
Text
ID
cm80ex

Author

31
posts
341
comments
3
media
View profile

38 comments

makepkg is capable of handling git repositories. Why are you just stuffing it into prepare() with no versioning? The git archive stuff makes no sense. Also missing -git suffix.

https://wiki.archlinux.org/index.php/VCS_package_guidelines

62 points

Thanks for showing me this. When I get back home tonight I will use the proper syntax :)

10 points

You can use the pacman provided /usr/share/pacman/PKGBUILD-vcs.proto file as a model, and, you know, read the docs on the wiki about packaging your own applications...

-2 points

I have pretty much zero knowledge of how this works and it was mainly a rush so I could deploy it to all my systems

9 points

I always find it baffling when someone releases a VISUAL COMPONENT without any screenshots.

18 points

Can this happen with sway?

5 points

I’m hoping someone would write a patch. Sway is awesome and I’ve had experience with *-git PKGBUILDs in the past. As soon as one comes out I’d love to make one.

2 points

Sure, but someone who wants the feature is going to need to write a patch and submit it to the sway project. Beyond someone adding it, it's not likely to be added by the project leaders any time soon. It's been mentioned a few times in the issues. Be the change you want to see in the world dude! Shouldn't be too hard to write, and you could even use this guys code as a template of how to implement it in sway.

1 points

This is awesome. Really hoping someone does something similar for the BSPWM rounded corners fork, I'm not confident enough to do it myself...

2 points

How would one replace an existing i3-gaps installation in ubuntu?

1 points
unknown author

Deleted before we saved it.

1 points

So far so good. If you don't see the rounding on URxvt, set:

for_window [class="URxvt" border pixel 0 

as opposed too:

for_window [class="URxvt" border none

Now I finally have clean rounded corners all around. Well done!

1 points

Is there a way to change border_radius on the fly? Through i3-msg or something? I'm trying to configure a shortcut that toggles between gapless and gaps with rounded corners. Thank you for your hard work!

1 points

tried it, doesn't work for me.... after reload says config file has error.

0 points

if it doesn't work on [your machine] then leave a comment via the AUR or add an issue to any of my github repositories

1 points

I don't get why these features (gaps and rounded corners) can't just be merged into upstream by now. The philosophy of not adding any just-for-prettiness features to i3wm is silly when it would just be a handful of lines of code to implement.

-1 points

If U look at some of the talks between Airblader and i3 on GitHub U would see that this is in progress. The reason they are not rushing it is because i3-gaps needs a bit of a code-cleanup to get it to a good standard for it to be merged. Airblader is not going to merge the rounded corners in until a little bit later because he said he was going to w8 until i3-gaps gets merged with i3.

Just have an explore around the i3 repos from i3, AirBlader and resloved and U will see there is quite a bit of discussion going on.

3 points

AirBlader also pointed out that i3-gaps breaks the i3 philosophy of using every pixel and only adding utilitarian features. At the post I saw he said he wasn't certain it would ever be merged in.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.