Gaps for i3bar

Hi all!

I’m a bit new to i3wm and making my way on customizing it to suit my needs. For the last half a day I’ve been struggling to set gaps for a i3bar to make it distant from the screen edges, but get a bit confused. Syntax seems to be correct (at least i get no errors while applying my settings :upside_down_face:), but changes give no visible effect. What I’m trying to add to my config:

for_window [class="i3bar"] gaps outer 3

Possibly it’s not possible to do for the i3bar or i need to add more tweaks?
If you ever encountered a similar task or have any ideas how it can be done - i would be thankfull for any advice

1 Like
[21:11:35] joekamprad :: SLIMSHADY64  ➜  ~ » xprop                       
		window state: Normal
		icon window: 0x0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 1080, 3000
WM_NAME(STRING) = "i3bar for output DP-0"
WM_CLASS(STRING) = "bar-2", "i3bar"

could be the wrong string… but no clue if i3 will take bar as a window class anyway :wink: never tried… i3-bar is very basic