feat(hyprland): add workspace focus keybinds #148

Merged
alexion merged 1 commits from feat/hyprland-lua-workspace-focus into main 2026-10-11 16:02:19 -04:00
Owner

Summary

  • Extend the keybind registry with a focus-workspace action kind.
  • Register Super+1 through Super+9 workspace focus binds from the Hyprland module.
  • Render workspace focus binds as Lua hl.dsp.focus(...) calls.
  • Keep remaining navigation/window binds deferred to the next slice.

Slice 2.2 checklist

  • Extend the keybind registry with a workspace-focus action kind.
  • Register Super+1 through Super+9 in the Hyprland module.
  • Consume workspace-focus keybind entries in the Hyprland module.
  • Keep all other navigation bindings deferred.

Verification

  • nix run .#fix
    • Succeeded.
    • Reported the expected unused-declaration warnings from temporarily commented Slice 1 feature binds.
    • Formatter edits to unrelated commented feature modules were reverted to keep this stacked PR focused.
  • bazel run //src/natu:natu -- configs/nixos/registry/keybind.nix configs/nixos/modules/desktop/session/hyprland/default.nix
    • No findings.
  • nix eval --raw '.#nixosConfigurations.zeus.config.home-manager.users.alexion.xdg.configFile."hypr/hyprland.lua".text' | python3 ...
    • Generated 10 hl.bind(...) calls: Ghostty plus workspace focus 1 through 9.
    • Super+1 through Super+9 present.
    • 9 hl.dsp.focus(...) workspace calls present.
    • Move-to-workspace and Super+Shift+1 remain absent.
## Summary - Extend the `keybind` registry with a `focus-workspace` action kind. - Register Super+1 through Super+9 workspace focus binds from the Hyprland module. - Render workspace focus binds as Lua `hl.dsp.focus(...)` calls. - Keep remaining navigation/window binds deferred to the next slice. ## Slice 2.2 checklist - [x] Extend the `keybind` registry with a workspace-focus action kind. - [x] Register Super+1 through Super+9 in the Hyprland module. - [x] Consume workspace-focus keybind entries in the Hyprland module. - [x] Keep all other navigation bindings deferred. ## Verification - `nix run .#fix` - Succeeded. - Reported the expected unused-declaration warnings from temporarily commented Slice 1 feature binds. - Formatter edits to unrelated commented feature modules were reverted to keep this stacked PR focused. - `bazel run //src/natu:natu -- configs/nixos/registry/keybind.nix configs/nixos/modules/desktop/session/hyprland/default.nix` - No findings. - `nix eval --raw '.#nixosConfigurations.zeus.config.home-manager.users.alexion.xdg.configFile."hypr/hyprland.lua".text' | python3 ...` - Generated 10 `hl.bind(...)` calls: Ghostty plus workspace focus 1 through 9. - Super+1 through Super+9 present. - 9 `hl.dsp.focus(...)` workspace calls present. - Move-to-workspace and Super+Shift+1 remain absent.
alexion changed target branch from feat/hyprland-lua-navigation to main 2026-10-11 16:02:15 -04:00
alexion added 1 commit 2026-10-11 16:02:15 -04:00
alexion merged commit 0bf5ebae87 into main 2026-10-11 16:02:19 -04:00
alexion deleted branch feat/hyprland-lua-workspace-focus 2026-10-11 16:02:19 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#148