From b87382a09b36742593958bdf2cbc1b791ba3c7e2 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 20 Mar 2024 15:20:12 +0000 Subject: [PATCH] Hyprland: add bind to move, resize, and pin the active window TODO let this bind also set floating but that's not in my current version of Hyprland --- home/hyprland/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 87e9fb9c..7ecca4e8 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -275,6 +275,11 @@ "SUPER, Q, killactive," "SUPER SHIFT, Q, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show powermenu -modi powermenu:${pkgs.rofi-power-menu}/bin/rofi-power-menu" "SUPER, V, togglefloating" + # "SUPER SHIFT, V, setfloating" ## TODO setfloating exists + # in newer version of Hyprland than mine + "SUPER SHIFT, V, moveactive, exact 1% 4%" + "SUPER SHIFT, V, resizeactive, exact 800 600" + "SUPER SHIFT, V, pin" "SUPER, F, fullscreen, 0" # Actual fullscreen "SUPER, M, fullscreen, 1" # Maximise window "SUPER, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw"