summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src/kernel.cpp
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-14 00:26:07 +0900
committerAdam Malczewski <[email protected]>2026-06-14 00:26:07 +0900
commit151fbb589f99aa25f40c2ddb2562c992ef5d3adf (patch)
treeb6016ed63a86fa1f131ac393a9c1e504269ee483 /packages/kernel/src/kernel.cpp
parentf7df36c8f656652e8245d781b35cb3252f17bad2 (diff)
downloadunbox-151fbb589f99aa25f40c2ddb2562c992ef5d3adf.tar.gz
unbox-151fbb589f99aa25f40c2ddb2562c992ef5d3adf.zip
ext-keybindings + ext-stage-dock: config-driven dock-toggle-visible (Super+d)
- **ext-stage-dock**: exports a `Service` interface with `toggle_visible()`. The extension inherits from it and registers via `provide_service` in `activate()`. The method slides the dock in/out (using the existing RCSS transition) regardless of slot count; showing an empty dock is valid. - **ext-keybindings**: new `Action::dock_toggle_visible` action, mapped from `"dock-toggle-visible"` in `unbox.toml [[keybind]]`, dispatched to the stage-dock Service. Default binding: `Super+d`. - **Manifest**: ext-keybindings now `depends_on {"xdg-shell", "stage-dock"}`. - **Build**: subdir order swapped so ext-stage-dock builds before ext-keybindings; `ext_stage_dock_dep` is a link-time dep of the ext-keybindings library and transitively exposed via `ext_keybindings_dep`. - **Tests**: glue tests install ext-stage-dock alongside ext-xdg-shell; policy test expects 6 default bindings. All 10/10 green on build + build-asan. Configure in unbox.toml: [[keybind]] keys = "Super+d" action = "dock-toggle-visible"
Diffstat (limited to 'packages/kernel/src/kernel.cpp')
0 files changed, 0 insertions, 0 deletions