refactor(screenshot): simplify capture bindings #175

Merged
alexion merged 1 commits from refactor/screenshot-module-cleanup into main 2026-10-11 22:41:59 -04:00
Owner

Summary

  • Replace direct screenshot command paths with executable helpers.
  • Collapse repeated screenshot keybind definitions behind screenshotKey.
  • Remove the one-use user binding.
  • Keep Satty window rules before keybind registry entries.

Verification

  • nix eval --json '.#nixosConfigurations.zeus.config.registry.keybind.zeus.screenshot-area.action.command' | jq .
  • nix eval --json '.#nixosConfigurations.zeus.config.registry.keybind.zeus.screenshot-active.keys' | jq .
  • nix eval --json '.#nixosConfigurations.zeus.config.registry.keybind.zeus.screenshot-screen.keys' | jq .
  • nix eval --json '.#nixosConfigurations.zeus.config.home-manager.users.alexion.wayland.windowManager.hyprland.settings.window_rule' | jq 'map(select(.match.class == "^(com\\\\.gabm\\\\.satty)$"))'
  • nix run .#fix
  • bazel run //src/natu:natu -- configs/nixos/modules/desktop/utilities/screenshot.nix
## Summary - Replace direct screenshot command paths with executable helpers. - Collapse repeated screenshot keybind definitions behind `screenshotKey`. - Remove the one-use user binding. - Keep Satty window rules before keybind registry entries. ## Verification - `nix eval --json '.#nixosConfigurations.zeus.config.registry.keybind.zeus.screenshot-area.action.command' | jq .` - `nix eval --json '.#nixosConfigurations.zeus.config.registry.keybind.zeus.screenshot-active.keys' | jq .` - `nix eval --json '.#nixosConfigurations.zeus.config.registry.keybind.zeus.screenshot-screen.keys' | jq .` - `nix eval --json '.#nixosConfigurations.zeus.config.home-manager.users.alexion.wayland.windowManager.hyprland.settings.window_rule' | jq 'map(select(.match.class == "^(com\\\\.gabm\\\\.satty)$"))'` - `nix run .#fix` - `bazel run //src/natu:natu -- configs/nixos/modules/desktop/utilities/screenshot.nix`
alexion added 1 commit 2026-10-11 22:40:49 -04:00
alexion merged commit b7ab518f58 into main 2026-10-11 22:41:59 -04:00
alexion deleted branch refactor/screenshot-module-cleanup 2026-10-11 22:41:59 -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#175