Getting Started Tiling Wm [Part 6] I3 Rounded Corners

⇢ 
Table of contents

According to Reddis post and i3-gaps issue, it seems like a lot of people would like this. But Airblade - i3-gaps maintainer doesn’t like it. But nevermind, we still have two ways to achieve it.

Rounded i3-gaps

Resloved have an awesome fork to implement rounded corners. I fork it again to keep it up-to-date with the upstream i3-gaps. You can check it here.

  • Install i3-gaps.
# Dependencies
sudo apt install git libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev \
    libxcb-util0-dev libxcb-icccm4-dev libyajl-dev \
    libstartup-notification0-dev libxcb-randr0-dev \
    libev-dev libxcb-cursor-dev libxcb-xinerama0-dev \
    libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev \
    autoconf libxcb-xrm0 libxcb-xrm-dev automake i3status \
    ninja-build meson libxcb-shape0-dev build-essential -y
git clone https://github.com/ntk148v/i3.git
cd i3/
# Compile
mkdir -p build && cd build
meson ..
ninja
sudo ninja install
  • Configure rounded corners by adding this to your config.
border_radius 10
  • Result, but you can see that these corners look so jagged (check out this comment).

picom

  • You can also achieve rounded corners by using picom.
  • Install picom.
  • Configure rounded corners by changing corner_radius value.
# Path ~/.config/picom.conf
corner_radius: 10;
  • Result looks much smoother.