You are not logged in.

#1 2025-02-19 13:26:51

SofieSasao
Member
Registered: 2024-03-03
Posts: 20

i3 + picom, can I remove rounded corners with smart_gaps?

I use i3 window manager along with picom.

Ideally, I'm looking for a way to satisfy these requirements:
1. For multiple windows in tiling mode: gaps around windows on, rounded corners on.
2. For a single window in floating mode: rounded corners on.
3. For a single window in tiling mode: gaps around windows off, rounded corners off.

I managed to partially achieve this.
picom config enables rounded corners for all windows:

corner-radius = 10;
round-borders = 1;

i3 config provides gaps when there are multiple windows in tiling mode, but turns them off when there is only one window:

smart_gaps on
gaps inner 5
gaps outer -2

This works almost perfectly, however, rounded corners are still present when there is a single application taking all screen space in tiling mode.
This behavior violates the last requirement and looks pretty bad.
Is there any way to fix that?

Offline

Board footer

Powered by FluxBB