Skip to content

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

feat(boot): add back resize command keybindings to sample config

Lars Berger97a6cab026a2
diff --git a/GlazeWM.Bootstrapper/sample-config.yaml b/GlazeWM.Bootstrapper/sample-config.yaml
index cdac13f3..acde0e03 100644
--- a/GlazeWM.Bootstrapper/sample-config.yaml
+++ b/GlazeWM.Bootstrapper/sample-config.yaml
@@ -91,8 +91,18 @@ keybindings:
- command: "move down"
bindings: ["Alt+Shift+J", "Alt+Shift+Down"]
- # Activate binding mode defined above with the name "resize". This enables resizing the
- # focused window via HJKL or arrow keys.
+ # Resize focused window by a percentage or pixel amount.
+ - command: "resize width -2%"
+ binding: "Alt+U"
+ - command: "resize width +2%"
+ binding: "Alt+P"
+ - command: "resize height +2%"
+ binding: "Alt+O"
+ - command: "resize height -2%"
+ binding: "Alt+I"
+
+ # As an alternative to the resize keybindings above, resize mode enables resizing via
+ # HJKL or arrow keys. The binding mode is defined above with the name "resize".
- command: "binding mode resize"
binding: "Alt+R"