window management library
git clone https://git.lucas.co/cce-window-manager.git
feat: ship zoom chords unbound — they live in input.kdl now
Remove the three compiled-in zoom defaults (zoom_in
super+ctrl+shift+equal, zoom_out super+ctrl+minus, zoom_reset
super+ctrl+equal) from DEFAULT_BINDINGS; the user's input.kdl
cce-window-manager domain carries them instead, per the general
direction of keeping chord assignments in config rather than code.
Co-Authored-By: Claude Fable 5 <[email protected]>
src/bindings.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/bindings.rs b/src/bindings.rs
index c4ae278..a318ed0 100644
--- a/src/bindings.rs
+++ b/src/bindings.rs
@@ -146,9 +146,9 @@ pub const DEFAULT_BINDINGS: &[DefaultBinding] = &[
DefaultBinding { mods: mods::SUPER | mods::CTRL, key: "Down", action: Action::PanDown },
DefaultBinding { mods: mods::SUPER | mods::CTRL, key: "Left", action: Action::PanLeft },
DefaultBinding { mods: mods::SUPER | mods::CTRL, key: "Right", action: Action::PanRight },
- DefaultBinding { mods: mods::SUPER | mods::CTRL | mods::SHIFT, key: "equal", action: Action::ZoomIn },
- DefaultBinding { mods: mods::SUPER | mods::CTRL, key: "minus", action: Action::ZoomOut },
- DefaultBinding { mods: mods::SUPER | mods::CTRL, key: "equal", action: Action::ZoomReset },
+ // Zoom chords ship UNBOUND by default: they live in the user's
+ // input.kdl (cce-window-manager domain: zoom_in / zoom_out /
+ // zoom_reset) rather than in this table.
DefaultBinding { mods: mods::SUPER | mods::SHIFT, key: "r", action: Action::Reload },
// Reverse companion to the (user-configured) super+tab window switcher.
DefaultBinding { mods: mods::SUPER | mods::SHIFT, key: "Tab", action: Action::WindowSwitcherPrev },