From dbedf90b4ae8d860b38a8c10a5c7b5413020ab2a9136b2c87d206f49be623463 Mon Sep 17 00:00:00 2001 From: Mikkel Harboe Arp Henriksen Date: Tue, 17 Jun 2025 19:25:57 +0200 Subject: [PATCH] =?UTF-8?q?flyt=20og=20=C3=A6ndre=20st=C3=B8rrelse=20p?= =?UTF-8?q?=C3=A5=20vinduer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/hyprland.conf.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/hyprland.conf.j2 b/templates/hyprland.conf.j2 index 3f63176..3d63db5 100644 --- a/templates/hyprland.conf.j2 +++ b/templates/hyprland.conf.j2 @@ -108,6 +108,18 @@ bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d +# Flyt det aktive vindue +bind = $mainMod SHIFT, left, movewindow, l +bind = $mainMod SHIFT, right, movewindow, r +bind = $mainMod SHIFT, up, movewindow, u +bind = $mainMod SHIFT, down, movewindow, d + +# Ændr størrelse på det aktive vindue +bind = $mainMod CTRL, left, resizeactive, -20 0 +bind = $mainMod CTRL, right, resizeactive, 20 0 +bind = $mainMod CTRL, up, resizeactive, 0 -20 +bind = $mainMod CTRL, down, resizeactive, 0 20 + # Skift til workspace 1-9 bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2