feat(hyprland): migrate hardware key bindings #157

Merged
alexion merged 1 commits from feat/hyprland-hardware-keys into main 2026-10-11 16:50:17 -04:00
Owner

Summary

  • Add a locked option to the desktop keybind registry and render it in Hyprland Lua.
  • Register SwayOSD volume and brightness hardware keys with repeat behavior.
  • Register mute and media transport keys as locked bindings.

Verification

  • nix eval --json '.#nixosConfigurations.zeus.config.registry.keybind.zeus' | jq 'with_entries(select(.key | test("volume|brightness|mute|media")))'
  • nix eval --raw '.#nixosConfigurations.zeus.config.home-manager.users.alexion.xdg.configFile."hypr/hyprland.lua".text' | python3 -c ...
  • nix run .#fix
  • bazel run //src/natu:natu -- configs/nixos/registry/keybind.nix configs/nixos/modules/desktop/session/hyprland/default.nix configs/nixos/modules/desktop/utilities/osd.nix configs/nixos/modules/desktop/utilities/audio.nix

Not live-verified

  • Holding volume and brightness keys on laptop hardware.
  • Mute and media controls while the session is locked.
## Summary - Add a `locked` option to the desktop keybind registry and render it in Hyprland Lua. - Register SwayOSD volume and brightness hardware keys with repeat behavior. - Register mute and media transport keys as locked bindings. ## Verification - `nix eval --json '.#nixosConfigurations.zeus.config.registry.keybind.zeus' | jq 'with_entries(select(.key | test("volume|brightness|mute|media")))'` - `nix eval --raw '.#nixosConfigurations.zeus.config.home-manager.users.alexion.xdg.configFile."hypr/hyprland.lua".text' | python3 -c ...` - `nix run .#fix` - `bazel run //src/natu:natu -- configs/nixos/registry/keybind.nix configs/nixos/modules/desktop/session/hyprland/default.nix configs/nixos/modules/desktop/utilities/osd.nix configs/nixos/modules/desktop/utilities/audio.nix` ## Not live-verified - Holding volume and brightness keys on laptop hardware. - Mute and media controls while the session is locked.
alexion added 1 commit 2026-10-11 16:40:15 -04:00
alexion merged commit 4360f4863b into main 2026-10-11 16:50:17 -04:00
alexion deleted branch feat/hyprland-hardware-keys 2026-10-11 16:50:17 -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#157