Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

feat(domain): add hardcoded keybindings for resizing height of focused window

Lars50a94f570654
diff --git a/LarsWM.Domain/Common/Services/KeybindingService.cs b/LarsWM.Domain/Common/Services/KeybindingService.cs
index 9f4decf8..9f2c4ddd 100644
--- a/LarsWM.Domain/Common/Services/KeybindingService.cs
+++ b/LarsWM.Domain/Common/Services/KeybindingService.cs
@@ -95,6 +95,10 @@ namespace LarsWM.Domain.Common.Services
_bus.Invoke(new FocusWorkspaceCommand("9"));
if (pressedKey == Keys.U)
_bus.Invoke(new ResizeFocusedWindowCommand(ResizeDirection.SHRINK_WIDTH));
+ if (pressedKey == Keys.I)
+ _bus.Invoke(new ResizeFocusedWindowCommand(ResizeDirection.SHRINK_HEIGHT));
+ if (pressedKey == Keys.O)
+ _bus.Invoke(new ResizeFocusedWindowCommand(ResizeDirection.GROW_HEIGHT));
if (pressedKey == Keys.P)
_bus.Invoke(new ResizeFocusedWindowCommand(ResizeDirection.GROW_WIDTH));
if (pressedKey == Keys.V)