Skip to content

resizing a window to a specific size in floating mode. #1949

@ZoomyCat

Description

@ZoomyCat

i3-msg resize only allows "grow, shrink" as requested in #1948 .

I propose the ability to run:
i3-msg resize set height 50 ppt ## Set the height to 50% of the usable space, - what the bar is using.
i3-msg resize set width 50 ppt ## Same as above but set the width to 50%

This should set the side to the % of the current monitor or display. It could also be used to set the height or width in pixels.

The main use case for this would be being able to set windows to specific sizes for the floating interface. From what I understand you aim to do the tiling layout in the best way possible and i3 does a really good job of it, i3 is probably the most understandable and easy to use tiling window manager I've used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions