From 977103011ef2baa8fa76d13583ba640aead30d34 Mon Sep 17 00:00:00 2001 From: Kye Davey Date: Tue, 30 Sep 2025 20:27:41 +1000 Subject: [PATCH] fix removal of webapps that use additional handler (#2096) Co-authored-by: Ryan Hughes --- bin/omarchy-webapp-remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-webapp-remove b/bin/omarchy-webapp-remove index 833e8989..ca4daefc 100755 --- a/bin/omarchy-webapp-remove +++ b/bin/omarchy-webapp-remove @@ -6,7 +6,7 @@ DESKTOP_DIR="$HOME/.local/share/applications/" if [ "$#" -eq 0 ]; then # Find all web apps while IFS= read -r -d '' file; do - if grep -q '^Exec=.*omarchy-launch-webapp.*' "$file"; then + if grep -q '^Exec=.*\(omarchy-launch-webapp\|omarchy-webapp-handler\).*' "$file"; then WEB_APPS+=("$(basename "${file%.desktop}")") fi done < <(find "$DESKTOP_DIR" -name '*.desktop' -print0)