Disable i3wm window borders in dom0

I’m using i3wm as a window manager on dom0. However, I want to disable the borders set by Qubes OS. I understand the consequences, I’ve got an idea to display the current qube’s name on my bar, instead of having it to be displayed as border colors.
Of course, my i3 config can’t overwrite the default settings, meaning I can’t even set the border size. Where would it be possible, and how exactly?

i3 for Qubes-Os “just” uses a patch to color the borders. If you want to remove the colored borders, I think you just have to install the “official” version of i3wm on their site. After that, I never did.
@ben-grande , are you ok with that?

I wish it was that simple :sweat_smile:

The package i3-settings-qubes not only contains the defined colors, but many other configs for Qubes, so it can run properly.

try using qubes-buider to download the sources, then remove the patch from source and recompile it.
After that, copy i3-xxx.rpm and i3-devel-xxx.rpm packages to dom0 and install it with sudo rpm --noverify --force -i <the_package>

edit: I’m afraid that simply removing the patch won’t be enough. It should probably be rewritten with this method: more colors for i3 but instead of adding colors, we should remove them and keep only one.
It’s much easier and faster than adding more but still a hassle :/.
I just recreated a patch with the 30ouleurs for version 4.25. Eventually, I could try to make one that would have only one color and that you could modify and then recompile the package in the same way. Afterwards, if any one can be a simpler way?

While the window borders’ minimum size is hard-coded in the patch (and it seems I was supposed to submit a PR one day changing that… Cannot change border size in qubes-desktop-linux-i3 · Issue #6589 · QubesOS/qubes-issues · GitHub), you can set your border colours to black for each VM and that should help at least a bit.

1 Like