Fix spelling

This commit is contained in:
David Heinemeier Hansson
2026-04-30 22:23:43 +02:00
parent 6fac70d1a1
commit ec69817e74
5 changed files with 15 additions and 7 deletions
+5 -5
View File
@@ -139,18 +139,18 @@ show_webcam_select_menu() {
}
show_screenrecord_menu() {
omarchy-capture-screencording --stop-recording && exit 0
omarchy-capture-screenrecording --stop-recording && exit 0
case $(menu "Screenrecord" " With no audio\n With desktop audio\n With desktop + microphone audio\n With desktop + microphone audio + webcam") in
*"With no audio") omarchy-capture-screencording ;;
*"With desktop audio") omarchy-capture-screencording --with-desktop-audio ;;
*"With desktop + microphone audio") omarchy-capture-screencording --with-desktop-audio --with-microphone-audio ;;
*"With no audio") omarchy-capture-screenrecording ;;
*"With desktop audio") omarchy-capture-screenrecording --with-desktop-audio ;;
*"With desktop + microphone audio") omarchy-capture-screenrecording --with-desktop-audio --with-microphone-audio ;;
*"With desktop + microphone audio + webcam")
local device=$(show_webcam_select_menu) || {
back_to show_capture_menu
return
}
omarchy-capture-screencording --with-desktop-audio --with-microphone-audio --with-webcam --webcam-device="$device"
omarchy-capture-screenrecording --with-desktop-audio --with-microphone-audio --with-webcam --webcam-device="$device"
;;
*) back_to show_capture_menu ;;
esac
+1 -1
View File
@@ -138,7 +138,7 @@
"on-scroll-right": ""
},
"custom/screenrecording-indicator": {
"on-click": "omarchy-capture-screencording",
"on-click": "omarchy-capture-screenrecording",
"exec": "$OMARCHY_PATH/default/waybar/indicators/screen-recording.sh",
"signal": 8,
"return-type": "json"
+1 -1
View File
@@ -3,6 +3,6 @@ echo "Update Waybar screen recording command"
WAYBAR_CONFIG="$HOME/.config/waybar/config.jsonc"
if [[ -f $WAYBAR_CONFIG ]] && grep -q 'omarchy-cmd-screenrecord' "$WAYBAR_CONFIG"; then
sed -i 's/omarchy-cmd-screenrecord/omarchy-capture-screencording/g' "$WAYBAR_CONFIG"
sed -i 's/omarchy-cmd-screenrecord/omarchy-capture-screenrecording/g' "$WAYBAR_CONFIG"
omarchy-restart-waybar
fi
+8
View File
@@ -0,0 +1,8 @@
echo "Rename screen recording command"
WAYBAR_CONFIG="$HOME/.config/waybar/config.jsonc"
if [[ -f $WAYBAR_CONFIG ]] && grep -q 'omarchy-capture-screencording' "$WAYBAR_CONFIG"; then
sed -i 's/omarchy-capture-screencording/omarchy-capture-screenrecording/g' "$WAYBAR_CONFIG"
omarchy-restart-waybar
fi