Description
Hello, I recently switched from dwm to hyprland and I'm having some issues with the mouse bindings.
In dwm, I used the following mouse bindings:
{ ClkClientWin, MODKEY, Button1, movemouse, {0} }, // super+left click | Drag window | Drag window
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} }, // super+right click | Drag window | Resize window
In hyprland, I'm using the following mouse bindings:
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizemouse
I have two points of confusion:
-
In dwm, I used super+left mouse click to drag windows. When I dragged a tiled window, it would become a floating window. However, in hyprland, the movewindow command does not make the window float.
-
In dwm, I used super+right mouse click to resize windows. When I dragged the window using the right mouse button, it would always resize the window from the bottom right corner. This feature made it easy for me to reset the window size. However, in hyprland, it adjusts the window size relative to the position of the window border, which I believe adds unnecessary complexity.
How can I adjust the mouse binding logic in hyprland to match that of dwm? Any help would be greatly appreciated.
Description
Hello, I recently switched from dwm to hyprland and I'm having some issues with the mouse bindings.
In dwm, I used the following mouse bindings:
{ ClkClientWin, MODKEY, Button1, movemouse, {0} }, // super+left click | Drag window | Drag window
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} }, // super+right click | Drag window | Resize window
In hyprland, I'm using the following mouse bindings:
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizemouse
I have two points of confusion:
In dwm, I used super+left mouse click to drag windows. When I dragged a tiled window, it would become a floating window. However, in hyprland, the movewindow command does not make the window float.
In dwm, I used super+right mouse click to resize windows. When I dragged the window using the right mouse button, it would always resize the window from the bottom right corner. This feature made it easy for me to reset the window size. However, in hyprland, it adjusts the window size relative to the position of the window border, which I believe adds unnecessary complexity.
How can I adjust the mouse binding logic in hyprland to match that of dwm? Any help would be greatly appreciated.