From ec69817e742be495082e722cfa6f4a7b5df1de83 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 30 Apr 2026 22:23:43 +0200 Subject: [PATCH] Fix spelling --- ...e-screencording => omarchy-capture-screenrecording} | 0 bin/omarchy-menu | 10 +++++----- config/waybar/config.jsonc | 2 +- migrations/1777464602.sh | 2 +- migrations/1777578316.sh | 8 ++++++++ 5 files changed, 15 insertions(+), 7 deletions(-) rename bin/{omarchy-capture-screencording => omarchy-capture-screenrecording} (100%) create mode 100644 migrations/1777578316.sh diff --git a/bin/omarchy-capture-screencording b/bin/omarchy-capture-screenrecording similarity index 100% rename from bin/omarchy-capture-screencording rename to bin/omarchy-capture-screenrecording diff --git a/bin/omarchy-menu b/bin/omarchy-menu index 174b4960..add96198 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -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 diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index b7c54fd4..cbf211c3 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -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" diff --git a/migrations/1777464602.sh b/migrations/1777464602.sh index a6f016a9..8c845442 100644 --- a/migrations/1777464602.sh +++ b/migrations/1777464602.sh @@ -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 diff --git a/migrations/1777578316.sh b/migrations/1777578316.sh new file mode 100644 index 00000000..d9e584c2 --- /dev/null +++ b/migrations/1777578316.sh @@ -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