You are not logged in.

#1 2014-11-18 00:13:06

sm4tik
Member
Registered: 2006-11-05
Posts: 248

[SOLVED] i3bar workspace buttons

Hi,
I'm setting up i3 for a test run after using spectrwm for the past year. Maybe someone could help me with i3bar's workspace buttons. I just can't figure out how to get that nice 1px solid border around them like in a lot of screenies I've seen. For some reason there's a 2px border only on the left and top of the button and I've yet to find a way to change that. Any clues?

edit: removed link to a screenshot, see post #4.

Last edited by sm4tik (2014-11-18 18:57:32)

Offline

#2 2014-11-18 07:30:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] i3bar workspace buttons

Moved on request to Apps & DEs...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-11-18 14:01:57

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED] i3bar workspace buttons

Not possible. Either you're seeing something that's not there, or that's a bug. Only the border color can be controlled.

Offline

#4 2014-11-18 17:43:08

sm4tik
Member
Registered: 2006-11-05
Posts: 248

Re: [SOLVED] i3bar workspace buttons

Sorry, I think I mislead you with the link.
Here's a scrot from my bar.
i3bar.png
This happened with the default config also, colors are just for emphasis. Using the latest i3 from official repos.

Last edited by sm4tik (2014-11-18 18:48:01)

Offline

#5 2014-11-18 17:43:19

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,601

Re: [SOLVED] i3bar workspace buttons

^^ I saw this after I posted

2014_11_18_174935_545x112_scrot.jpg

You are right, the left and top border of the button are bigger than the right one.
I think the window lays over underside of the button, so you can't see it.

Maybe Rasi tweaked the code itself, but, as ANOKNUSA says, could be a bug too.

Last edited by qinohe (2014-11-18 17:54:39)

Offline

#6 2014-11-18 18:43:01

Zactoid
Member
From: Australia
Registered: 2014-10-12
Posts: 5

Re: [SOLVED] i3bar workspace buttons

I get the 1 pixel border on my system using i3 version 4.8-3 from the Arch repository.

Only similar problem I can find is related to DPI: http://bugs.i3wm.org/report/ticket/1272

Offline

#7 2014-11-18 18:57:00

sm4tik
Member
Registered: 2006-11-05
Posts: 248

Re: [SOLVED] i3bar workspace buttons

@Zactoid
Thanks for the link, that's exacly what happened. Removing dpi setting from xinitrc solved the problem.

..and sorry all with the hassle and post editing etc, it's been a while..

Offline

#8 2014-11-18 19:27:18

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED] i3bar workspace buttons

Sorry, @sm4tik, I think I misread your first post. I thought you were asking how to get an offset border, not how to fix it. tongue Glad you figured it out.

Offline

Board footer

Powered by FluxBB