-
Notifications
You must be signed in to change notification settings - Fork 48
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
resize dispatcher "shrink" and "grow" options #14
Comments
I tried making a script to do this, using the existing "exact" option of the hyprland resize dispatcher, but I see that's unsupported so it's just straight up not possible at the moment </3 |
Is there any work done on this? It is one of my major need for hyprland. If it is not the cas I think I'll take a look into it. |
Any news on this? This is the only reason I have for not using this actively right now. |
On my side, I did not have the time to take a look yet. |
Shouldn't be particularly hard, I just haven't had time for it either. |
I'm encountering this and I had originally opened an issue on Hyprland's repo but this only happens when I use the hy3 plugin, so below is the content from that issue in case it's helpful: Issue description with videoDescriptionWhen using the dispatchers It also appears these dispatchers have no effect on floating windows.
Resizing the window using the mouse drag functionality works as expected, and is currently the only way I can resize windows to be smaller. My keybinds for resizing windows to be smaller worked in previous versions of Hyprland. There doesn't seem to be anything in the docs for In the bottom-most section is a screen capture I took of using the Possibly related to hyprwm/Hyprland#3704 How to reproduceSimply try to resize a window with a relative position vector that is towards the side of the screen that the window is adjacent to. My demo video below shows what I mean, but for example if you have a terminal that's adjacent to the rightmost side of the screen and you execute Crash reports, logs, images, videosresize.issue.demo.mp4Here is the only portion of my config that uses the ## Resize mode/submap
bind=SUPER,R,submap,resize
submap=resize
unbind = ,down
binde = , right, resizeactive, 100 0
binde = , left, resizeactive, -100 0
binde = , down, resizeactive, 0 100
binde = , up, resizeactive, 0 -100
binde = SHIFT, right, resizeactive, 10 0
binde = SHIFT, left, resizeactive, -10 0
binde = SHIFT, down, resizeactive, 0 10
binde = SHIFT, up, resizeactive, 0 -10
bind = , escape,submap,reset
bind = , return,submap,reset
submap=reset |
currently, the resize dispatcher always grows in the direction you request. This is inconvenient- it means to shrink a window you have to focus the window next to it and perform the action there. For floating windows, with this functionality there's no possible way to shrink them through the dispatcher (and, although this is probably an unrelated issue, resizing floating windows through the dispatcher seems to currently do nothing at all?)
i3 resolves this issue by having the "shrink" and "grow" options for the resize command. You can, for example, make pressing left always shrink the window, but right always grow it. This can, for windows on the right side of the screen, be the opposite of the way people expect it to work, but it's at least better to have this as an option than to be completely unable to shrink windows without the mouse.
The text was updated successfully, but these errors were encountered: