Add without audio option to screenrecord menu

This commit is contained in:
Rob Zolkos
2026-01-23 13:51:45 -05:00
parent 768c553c4c
commit 4bbf3be8f0
+2 -1
View File
@@ -144,13 +144,14 @@ show_webcam_select_menu() {
show_screenrecord_menu() {
omarchy-cmd-screenrecord --stop-recording && exit 0
case $(menu "Screenrecord" " With desktop audio\n With desktop + microphone audio\n With desktop + microphone audio + webcam") in
case $(menu "Screenrecord" " With desktop audio\n With desktop + microphone audio\n With desktop + microphone audio + webcam\n Without audio") in
*"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; }
omarchy-cmd-screenrecord --with-desktop-audio --with-microphone-audio --with-webcam --webcam-device="$device"
;;
*"Without audio") omarchy-cmd-screenrecord ;;
*) back_to show_capture_menu ;;
esac
}