mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user