From 744ba98d0dd50a5828695c689637c1855c05b433 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Sun, 8 Jun 2025 23:46:15 +0800 Subject: [PATCH] feat(hyprland): add mouse bindings --- modules/home/desktop/windowManager/hyprland/keybinds.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/home/desktop/windowManager/hyprland/keybinds.nix b/modules/home/desktop/windowManager/hyprland/keybinds.nix index c12fc63..223d79c 100644 --- a/modules/home/desktop/windowManager/hyprland/keybinds.nix +++ b/modules/home/desktop/windowManager/hyprland/keybinds.nix @@ -36,4 +36,12 @@ "$meh, mouse_up, resizeactive, 10% 10%" "$meh, mouse_down, resizeactive, -10% -10%" ]; + + bindm = [ + "ALT, mouse:272, movewindow" + "ALT, mouse:273, resizeactive" + ]; + bindc = [ + "ALT, mouse:272, togglefloating" + ]; }