From 0d7fbbce02e34a92b9efee6814f6a6a9c2d42a6b Mon Sep 17 00:00:00 2001 From: Gerrit Dolderer <153431701+neurapy@users.noreply.github.com> Date: Sun, 23 Nov 2025 11:32:18 +0100 Subject: [PATCH] Because TUI Apps are now saved with Exec=xdg-terminal-exec and not (#3552) Exec=$TERMINAL the omarchy-tui-remove wont find newly created TUI-Apps. This fixes it and ensures backwards compability. Co-authored-by: Gerrit Dolderer --- bin/omarchy-tui-remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-tui-remove b/bin/omarchy-tui-remove index 564cffb2..91e6f6bc 100755 --- a/bin/omarchy-tui-remove +++ b/bin/omarchy-tui-remove @@ -6,7 +6,7 @@ DESKTOP_DIR="$HOME/.local/share/applications/" if [ "$#" -eq 0 ]; then # Find all TUIs while IFS= read -r -d '' file; do - if grep -q '^Exec=.*$TERMINAL.*-e' "$file"; then + if grep -qE '^Exec=.*(\$TERMINAL|xdg-terminal-exec).*-e' "$file"; then TUIS+=("$(basename "${file%.desktop}")") fi done < <(find "$DESKTOP_DIR" -name '*.desktop' -print0)