Rename region picker to omarchy-capture-region
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
362d97c151
commit
b72aa8f65e
@@ -108,7 +108,7 @@ default_resolution() {
|
|||||||
# user cancelled the picker.
|
# user cancelled the picker.
|
||||||
select_capture_target() {
|
select_capture_target() {
|
||||||
local target
|
local target
|
||||||
target=$(omarchy-capture-region-pick smart --match-monitor) || return 1
|
target=$(omarchy-capture-region smart --match-monitor) || return 1
|
||||||
|
|
||||||
if [[ $target == monitor:* ]]; then
|
if [[ $target == monitor:* ]]; then
|
||||||
echo "$target"
|
echo "$target"
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ cleanup_freeze() {
|
|||||||
}
|
}
|
||||||
trap cleanup_freeze EXIT
|
trap cleanup_freeze EXIT
|
||||||
|
|
||||||
{ read -r FREEZE_PID; read -r SELECTION; } < <(omarchy-capture-region-pick "$MODE" --keep-freeze)
|
{ read -r FREEZE_PID; read -r SELECTION; } < <(omarchy-capture-region "$MODE" --keep-freeze)
|
||||||
|
|
||||||
[[ -z $SELECTION ]] && exit 0
|
[[ -z $SELECTION ]] && exit 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user