Skip to content

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

feat(domain): allow use of arrow keys for directional focus/move in sample keybindings

Lars Berger3efc4970287e
diff --git a/GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml b/GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml
index 999cc6bb..4680f6d9 100644
--- a/GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml
+++ b/GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml
@@ -24,76 +24,76 @@ Workspaces:
Keybindings:
- Command: "focus left"
- Bindings: ["$mod+H"]
+ Bindings: ["$mod+H", "$mod+Left"]
- Command: "focus right"
- Bindings: ["$mod+L"]
+ Bindings: ["$mod+L", "$mod+Right"]
- Command: "focus up"
- Bindings: ["$mod+K"]
+ Bindings: ["$mod+K", "$mod+Up"]
- Command: "focus down"
- Bindings: ["$mod+J"]
+ Bindings: ["$mod+J", "$mod+Down"]
- Command: "move left"
- Bindings: ["$mod+Shift+H"]
+ Bindings: ["$mod+Shift+H", "$mod+Shift+Left"]
- Command: "move right"
- Bindings: ["$mod+Shift+L"]
+ Bindings: ["$mod+Shift+L", "$mod+Shift+Right"]
- Command: "move up"
- Bindings: ["$mod+Shift+K"]
+ Bindings: ["$mod+Shift+K", "$mod+Shift+Up"]
- Command: "move down"
- Bindings: ["$mod+Shift+J"]
+ Bindings: ["$mod+Shift+J", "$mod+Shift+Down"]
- Command: "resize shrink width"
- Bindings: ["$mod+U"]
+ Binding: "$mod+U"
- Command: "resize grow width"
- Bindings: ["$mod+P"]
+ Binding: "$mod+P"
- Command: "resize grow height"
- Bindings: ["$mod+O"]
+ Binding: "$mod+O"
- Command: "resize shrink height"
- Bindings: ["$mod+I"]
+ Binding: "$mod+I"
- Command: "layout horizontal"
- Bindings: ["$mod+Shift+V"]
+ Binding: "$mod+Shift+V"
- Command: "layout vertical"
- Bindings: ["$mod+V"]
+ Binding: "$mod+V"
- Command: "close"
- Bindings: ["$mod+Shift+Q"]
+ Binding: "$mod+Shift+Q"
- Command: "focus workspace 1"
- Bindings: ["$mod+1"]
+ Binding: "$mod+1"
- Command: "focus workspace 2"
- Bindings: ["$mod+2"]
+ Binding: "$mod+2"
- Command: "focus workspace 3"
- Bindings: ["$mod+3"]
+ Binding: "$mod+3"
- Command: "focus workspace 4"
- Bindings: ["$mod+4"]
+ Binding: "$mod+4"
- Command: "focus workspace 5"
- Bindings: ["$mod+5"]
+ Binding: "$mod+5"
- Command: "focus workspace 6"
- Bindings: ["$mod+6"]
+ Binding: "$mod+6"
- Command: "focus workspace 7"
- Bindings: ["$mod+7"]
+ Binding: "$mod+7"
- Command: "focus workspace 8"
- Bindings: ["$mod+8"]
+ Binding: "$mod+8"
- Command: "focus workspace 9"
- Bindings: ["$mod+9"]
+ Binding: "$mod+9"
- Commands: ["move to workspace 1", "focus workspace 1"]
Binding: "$mod+Shift+1"