From b1af966819c15d61ff41bcd13cad9cbdf8edefbb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 16 Feb 2026 14:27:29 +0100 Subject: [PATCH] Go straight to the new unified screenshot flow --- bin/omarchy-menu | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/bin/omarchy-menu b/bin/omarchy-menu index 5257a6a1..d2d550ff 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -99,21 +99,13 @@ show_trigger_menu() { show_capture_menu() { case $(menu "Capture" " Screenshot\n Screenrecord\n󰃉 Color") in - *Screenshot*) show_screenshot_menu ;; + *Screenshot*) omarchy-cmd-screenshot ;; *Screenrecord*) show_screenrecord_menu ;; *Color*) pkill hyprpicker || hyprpicker -a ;; *) show_trigger_menu ;; esac } -show_screenshot_menu() { - 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 -} - get_webcam_list() { v4l2-ctl --list-devices 2>/dev/null | while IFS= read -r line; do if [[ "$line" != $'\t'* && -n "$line" ]]; then @@ -148,7 +140,10 @@ show_screenrecord_menu() { *"With desktop audio") omarchy-cmd-screenrecord --with-desktop-audio ;; *"With desktop + microphone audio") omarchy-cmd-screenrecord --with-desktop-audio --with-microphone-audio ;; *"With desktop + microphone audio + webcam") - local device=$(show_webcam_select_menu) || { back_to show_capture_menu; return; } + local device=$(show_webcam_select_menu) || { + back_to show_capture_menu + return + } omarchy-cmd-screenrecord --with-desktop-audio --with-microphone-audio --with-webcam --webcam-device="$device" ;; *) back_to show_capture_menu ;;