"Why does my i3 have two bars"

I gotchu

Corey

11/5/20221 min read

Chances are you are probably trying to theme your i3. Good. I got sick of the blue borders pretty quickly as well.

I initially started my search by trying to figure out how to theme i3 in the first place, the documentation and my brain simply don't don't click so I ended up using an online tool called "i3 Configurator". It's pretty good and very simple to use, only problem is when I pasted in the code into my i3 config it made a second bar appear when I refreshed i3 using mod+shift+c.

To fix this, in your i3 config do a search for "i3bar", you should land on a comment about starting i3bar. Underneath is a bar function. its the same function that you would copy out of i3 configurator. Since you are doubling up I assume it's making the second bar appear. Getting rid of the bar function after the comment should make it so only the config you copied from the configurator will work, leaving you with one bar.

If have forgotten where your config is, you probably created one at ~/.config/i3/config as this is where the documentation says i3 will look for a user defined config over the default which is at /etc/config/i3/config. I probably would make a backup of the default if you intend on editing that directly.