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
This commit is contained in:
Evie Litherland-Smith 2024-03-20 15:20:12 +00:00
parent 31a18fb9d7
commit b87382a09b

View file

@ -275,6 +275,11 @@
"SUPER, Q, killactive," "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 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, 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, F, fullscreen, 0" # Actual fullscreen
"SUPER, M, fullscreen, 1" # Maximise window "SUPER, M, fullscreen, 1" # Maximise window
"SUPER, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw" "SUPER, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw"