Move Resize Binding

From Fvwm Extensions (configs) Archive
Jump to navigation Jump to search
image

Move Resize Binding (bindings) hold the Super key and use the left mouse button to move the window or use the right mouse button to resize the window.

## FILE 1: MoRzBinding.txt
## Bindings

## Move window (Super+left mouse click).
## Super = key with window sign.

DestroyFunc FocusWhenMove
AddToFunc FocusWhenMove
 + I Raise
 + I Focus
 + M Move

Mouse 1 WS 4 FocusWhenMove

## Resize window (Super+right mouse click).

DestroyFunc FocusWhenResize
AddToFunc FocusWhenResize
 + I Raise
 + I Focus
 + I Resize

Mouse 3 WS 4 FocusWhenResize

HOW TO: Copy the code and paste it into your config. Or create FILE 1 and run the below line:
Read $[HOME]/.fvwm/MoRzBinding.txt