GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(domain): add keybinding parsing for `CloseFocusedWindowCommand`
Lars Berger2e39e0b99360
diff --git a/LarsWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs b/LarsWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.csindex 07c24f98..ea63e696 100644--- a/LarsWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs+++ b/LarsWM.Domain/UserConfigs/CommandHandlers/RegisterKeybindingsHandler.cs@@ -61,11 +61,10 @@ namespace LarsWM.Domain.UserConfigs.CommandHandlersreturn commandParts[0] switch{"layout" => ParseLayoutCommand(commandParts),- // TODO: Return close command once implemented.- "close" => new FocusWorkspaceCommand("1"),"focus" => ParseFocusCommand(commandParts),"move" => ParseMoveCommand(commandParts),"resize" => ParseResizeCommand(commandParts),+ "close" => new CloseFocusedWindowCommand(),_ => throw new ArgumentException(),};}