Add smart region selection to omarchy-cmd-snapshot (#1714)

* Add smart snapshot selection

* Add wayfreeze

* Update to only include current workspace in rectangles

* Fix if there are no windows on screen

* Add option to sidestep slurp and copy straight to clipboard

* Update capture menu

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Ryan HughesandDavid Heinemeier Hansson authored and GitHub committed 2025-10-17 11:58:40 +03:00
1 parent dcac313bb2
commit 06827c8ee6
4 files changed
+77 -16

No files matched your search

+3 -4
View File
@@ -104,10 +104,9 @@ show_capture_menu() {
}
show_screenshot_menu() {
case $(menu "Screenshot" " Region\n Window\n Display") in
*Region*) omarchy-cmd-screenshot ;;
*Window*) omarchy-cmd-screenshot window ;;
*Display*) omarchy-cmd-screenshot output ;;
case $(menu "Screenshot" " Snap with Editing\n Straight to Clipboard") in
*Editing*) omarchy-cmd-screenshot smart ;;
*Clipboard*) omarchy-cmd-screenshot smart clipboard ;;
*) show_capture_menu ;;
esac
}