The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

for_window minimum size

asked 2015-04-21 10:20:44 +0000

Jedipottsy gravatar image

updated 2015-04-27 07:00:37 +0000

Michael gravatar image

Hi, I would like to specify floating_minimum_size for a specific class only. I would like all windows to have no minimum size with the exception of a single class.

I tried

for_window [class="urxvt"] floating_minimum_size 700 x 250
for_window [class="urxvt"] floating_maximum_size -1 x -1

However this does not work.

edit retag flag offensive close merge delete


There's no way to do this with i3 at the moment. Your only chance would be to write an IPC script.

airblader gravatar imageairblader ( 2015-04-21 13:17:21 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-21 13:24:23 +0000

Adaephon gravatar image

updated 2015-04-27 07:00:49 +0000

Michael gravatar image

floating_minimum_size and floating_maximum_size are configuration options. But for_window (which is an option itself) expects a command after the criteria.

edit flag offensive delete link more

Question Tools


Asked: 2015-04-21 10:20:44 +0000

Seen: 105 times

Last updated: Apr 27