diff --git a/bin/omarchy-capture-text-extraction b/bin/omarchy-capture-text similarity index 94% rename from bin/omarchy-capture-text-extraction rename to bin/omarchy-capture-text index b9b31302..84260c4e 100755 --- a/bin/omarchy-capture-text-extraction +++ b/bin/omarchy-capture-text @@ -2,7 +2,7 @@ # omarchy:summary=Extract text from a screenshot region with OCR # omarchy:group=capture -# omarchy:examples=omarchy capture ocr +# omarchy:examples=omarchy capture text # Keep hyprpicker alive until after grim captures so the screenshot sees the # frozen overlay rather than live content shifting during teardown. diff --git a/default/hypr/bindings/utilities.lua b/default/hypr/bindings/utilities.lua index dc4f5b0c..f04ff2b1 100644 --- a/default/hypr/bindings/utilities.lua +++ b/default/hypr/bindings/utilities.lua @@ -39,7 +39,7 @@ o.bind("switch:off:Lid Switch", nil, "omarchy-hyprland-monitor-clamshell", { loc o.bind("PRINT", "Screenshot", "omarchy-capture-screenshot") o.bind("ALT + PRINT", "Screenrecording", "omarchy-capture-screenrecording --stop-recording || omarchy-menu toggle trigger.capture.screenrecord") o.bind("SUPER + PRINT", "Color picker", "pkill hyprpicker || hyprpicker -a") -o.bind("SUPER + CTRL + PRINT", "Extract text (OCR) from screenshot", "omarchy-capture-text-extraction") +o.bind("SUPER + CTRL + PRINT", "Extract text (OCR) from screenshot", "omarchy-capture-text") -- While the slurp region picker is open, Return captures the entire focused -- monitor. The bind lives exactly as long as a selection layer is on screen diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index 6ee4d493..c58993fb 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -49,7 +49,7 @@ "trigger.capture.screenshot": {"icon":"","label":"Screenshot","keywords":"picture","action":"omarchy-capture-screenshot"}, "trigger.capture.screenrecord.stop": {"icon":"","label":"Stop Screenrecording","keywords":"recording video","when":"pgrep -f '^gpu-screen-recorder' >/dev/null","action":"omarchy-capture-screenrecording --stop-recording"}, "trigger.capture.screenrecord": {"icon":"","label":"Screenrecord","keywords":"record screen video"}, - "trigger.capture.text": {"icon":"󰴑","label":"Text","keywords":"ocr text extraction","action":"omarchy-capture-text-extraction"}, + "trigger.capture.text": {"icon":"󰴑","label":"Text","keywords":"ocr text extraction","action":"omarchy-capture-text"}, "trigger.capture.color": {"icon":"󰃉","label":"Color","keywords":"picker hyprpicker","action":"pkill hyprpicker || hyprpicker -a"}, "trigger.capture.screenrecord.no-audio": {"icon":"","label":"With no audio","action":"omarchy-capture-screenrecording"}, "trigger.capture.screenrecord.desktop-audio": {"icon":"","label":"With desktop audio","action":"omarchy-capture-screenrecording --with-desktop-audio"},