From 182dd383d370e2bac73046f7c9496da6a31e85bb Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sun, 18 May 2025 21:40:12 -0400 Subject: [PATCH] Add keybinding for moving windows between monitors --- README.org | 7 +++++++ hyprland.conf | 3 +++ 2 files changed, 10 insertions(+) diff --git a/README.org b/README.org index 40e84e4..4251da1 100644 --- a/README.org +++ b/README.org @@ -596,6 +596,13 @@ bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, J, movewindow, d #+END_SRC +Move windows to monitors with mainMod + SHIFT + <> + +#+BEGIN_SRC conf :tangle hyprland.conf +bind = $mainMod SHIFT, period, movewindow, mon:+1 +bind = $mainMod SHIFT, comma, movewindow, mon:-1 +#+END_SRC + Move/resize windows with mainMod + LMB/RMB and dragging #+BEGIN_SRC conf :tangle hyprland.conf diff --git a/hyprland.conf b/hyprland.conf index dcb3110..2cc7535 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -242,6 +242,9 @@ bind = $mainMod SHIFT, L, movewindow, r bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, J, movewindow, d +bind = $mainMod SHIFT, period, movewindow, mon:+1 +bind = $mainMod SHIFT, comma, movewindow, mon:-1 + bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow