The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

new_window 1pixel ignored in config

asked 2013-08-30 02:22:04 +0000

DocOC gravatar image

I am running i3 4.6 from sur5r's ubuntu ppa. When I change my .i3/config and alter the new_window variable, the only values which are honored are 'normal' and 'pixel 2'. Any other value which does not cause an error simply does the same thing as 'pixel 2'.

I can do i3-msg border pixel 1, and get an actual 1 pixel border, or a 10 pixel border if I wish, but if I use the same value in the .i3/config, still only normal and two-pixel borders.

edit retag flag offensive close merge delete

Comments

From i3-dump-log: 08/31/2013 09:04:30 PM - con.c:con_border_style_rect:1076 - The border width for con is set to: -1 08/31/2013 09:04:30 PM - con.c:con_border_style_rect:1080 - Effective border width is set to: 2

DocOC gravatar imageDocOC ( 2013-09-01 01:36:32 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-01 02:18:55 +0000

DocOC gravatar image

I don't know why i3 thinks the default container border width is set to -1, but it does. I have, however, found a work-around, in case this will help anyone else. I put this in my .i3/config

for_window [class="\w*"] border pixel 1

It also works with values like pixel 3 or pixel 9.

edit flag offensive delete link more

Comments

Hi this works, but it will overwrite "new_float normal". How to set tiling window for 1 pixel, and floating window with window title bar? Thanks.

Havoc gravatar imageHavoc ( 2013-09-15 15:04:48 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2013-08-30 02:22:04 +0000

Seen: 512 times

Last updated: Sep 01 '13