Skip to content

Use Omasnap for screenshots - #9446

Merged
ryanrhughes merged 4 commits into
quattrofrom
use-omasnap-for-screenshots
Sep 21, 2026
Merged

ryanrhughes merged 4 commits into
quattrofrom
use-omasnap-for-screenshots

Conversation

@ryanrhughes

Copy link
Copy Markdown
Collaborator

What

  • Make Omasnap the implementation behind omarchy screenshot, while preserving the existing capture modes, positional copy/save forms, and legacy OMARCHY_SCREENSHOT_DIR override.
  • Swap Tensaku for Omasnap in the base package set and use Omasnap when reopening images from imv or clipboard history.
  • Add Omasnap's Hyprland layer policy, remove the obsolete Tensaku window rules, and update the screenshot documentation.
  • Migrate existing installs by adding Omasnap first, updating only the stock imv edit binding (including symlink-managed dotfiles), then dropping Tensaku.

grim, slurp, and hyprpicker remain installed because recording, OCR, QR, and color capture still use them.

Verification

  • bash test/shell.d/omasnap-test.sh
  • bash test/shell.d/clipboard-test.sh
  • bash test/shell.d/screenshot-sanity-test.sh
  • bash test/shell.d/bin-style-test.sh
  • bash test/shell.d/hyprland-default-config-test.sh
  • ./test/cli
  • ./test/shell: 219/222 test files pass; the three failures are unrelated live-environment/prerequisite checks (launch-about-test.sh, runtime-smoke-test.sh, and the missing omarchy-iso checkout in snapper-test.sh).
  • Live Hyprland verification: config reloads without errors; Omasnap maps on the focused monitor, accepts keyboard input, saves/copies on Enter, exits cleanly, and produces a correctly sized, nonblank full-monitor PNG.

@ryanrhughes
ryanrhughes requested a review from dhh as a code owner September 8, 2026 16:50
reeseroyster added a commit to reeseroyster/omarchy that referenced this pull request Sep 18, 2026
1788129995.sh collides with six other open PRs (omacom#9276, omacom#9445, omacom#9446,
omacom#9478, omacom#9522, omacom#9562); same filename means the same completion marker,
so only the first merged migration would ever run. Renamed to the
fresh, currently-unused timestamp 1789739221.
@ryanrhughes
ryanrhughes force-pushed the use-omasnap-for-screenshots branch from d673090 to bbff7a9 Compare September 18, 2026 17:49
@ryanrhughes
ryanrhughes force-pushed the use-omasnap-for-screenshots branch from bbff7a9 to e265934 Compare September 20, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants