Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow resizing of tiled windows #143

Open
dakyskye opened this issue May 1, 2021 · 7 comments
Open

Allow resizing of tiled windows #143

dakyskye opened this issue May 1, 2021 · 7 comments
Assignees
Projects
Milestone

Comments

@dakyskye
Copy link
Contributor

dakyskye commented May 1, 2021

I'd like to be able to resize Tiled windows (so I have increasing the size of Master window). It'd also be cool to add pseudo-tiled mode for a Window like bspwm does (so you resize Certain tiled window without resizing Other tiled windows while when a window is not pseudo-tiled and you resize it, it also causes other windows to resize).

@avahe-kellenberger avahe-kellenberger self-assigned this May 1, 2021
@avahe-kellenberger avahe-kellenberger added this to the 1.0 milestone May 1, 2021
@avahe-kellenberger
Copy link
Owner

Been wanting to implement this for a while.

My main questions are, after resizing a slave window:

  1. What should happen if you spawn a new slave window? (Should the resize just be undone)
  2. If you move the resized slave window, should that window stay the same size?

I'm thinking:

  1. Undo the resizing
  2. Stay the same size unless it can take up more vertical space

@dakyskye
Copy link
Contributor Author

dakyskye commented May 1, 2021

Well, if we are not talking about pseude tiled windows, then:
You should be able to resize any window whether it's master or slave. Resizing a window will cause resizing of other windows around it. If you spawn a new slave window, its horizontal size should be the same as other slave windows, but for vertical size, it should try to be as big as possible in given space. When you move a slave window, it should remain the size it has, since the reason why certain slave window was resized was to see more output from a command and when I move that window I definitely want to keep the size of it.

@avahe-kellenberger
Copy link
Owner

Cool, sounds like we're on the same page.

I'm not sure what you mean by "pseudo-tiled" but I could implement this with the current layout system

@dakyskye
Copy link
Contributor Author

dakyskye commented May 1, 2021

Pseudo tiled means a window's size can't be increased, but it can be Decreased. And the difference is that when a slave window is not in pseudo tiled mode (so when it is in tiled mode), decreasing or increasing its size causes resizing of other windows, but in pseudo tiled's case, windows' size can get shrunk but other windows won't change their size. I will try to find a screenshot showing that. bspwm has this feature.

@avahe-kellenberger avahe-kellenberger added this to Up Next in 1.0 May 22, 2021
@uninhm
Copy link
Contributor

uninhm commented May 29, 2021

image

I implemented horizontal resize

@uninhm
Copy link
Contributor

uninhm commented May 30, 2021

If you find that useful I can do a pull request

@dakyskye
Copy link
Contributor Author

Yeah, it would be great. So then only pseudo tiling and vertical resizing will be left to be implemented 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
1.0
Up Next
Development

No branches or pull requests

3 participants