From 213d2d0b5b2e7b1ffe508870b451b90016f54fc9 Mon Sep 17 00:00:00 2001 From: Daniel Fainberg Date: Mon, 6 Jul 2026 20:47:05 +0200 Subject: [PATCH] feat(home): drag to move/resize windows with `$mod`+mouse Reach oversized floating dialogs (GTK pickers) whose confirm button lands off-screen on short displays. --- modules/home.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/home.nix b/modules/home.nix index 3a43432..0113230 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -293,6 +293,14 @@ in "$mod" = "SUPER"; + # Drag to move ($mod+LMB) / resize ($mod+RMB) any window. Needed to reach + # oversized floating dialogs (e.g. GTK save/upload pickers) whose confirm + # button lands off-screen on short displays. + bindm = [ + "$mod, mouse:272, movewindow" + "$mod, mouse:273, resizewindow" + ]; + bind = [ "$mod, Return, exec, footclient" "$mod, q, killactive"