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

Move and resize windows #82

Closed
bejito opened this issue Jul 18, 2022 · 1 comment
Closed

Move and resize windows #82

bejito opened this issue Jul 18, 2022 · 1 comment

Comments

@bejito
Copy link

bejito commented Jul 18, 2022

Hello.
I have a fairly low level in window management systems, and I couldn't find from the doc how to set hotkeys for basic actions such as moving and resizing the current.
It looks like the only wormrc function that might allow that is window.modifier(uint32), but I did not manage to find my way in the explanation. Any help would be welcome here.

Thanks !

@codic12
Copy link
Owner

codic12 commented Aug 3, 2022

Right now there isn't a way for setting keyboard-only hotkeys to move/resize windows that is inbuilt, but you can use external tools (maybe xdotool, wmctrl, etc) and bind those to keyboard shortcuts (you need a 3rd party keyboard daemon such as sxhkd.)

the modifier function is for setting the modifier to move a window with the mouse along with keyboard. for example, if you set it to Super then you can do Super+Left mouse drag to move a window and super+Right mouse drag to resize it. alternatively, you can move and resize from the titlebar but not the borders.

@codic12 codic12 closed this as completed Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants