This commit is contained in:
Saswat Padhi 2020-02-08 04:01:48 -08:00
parent 600df100df
commit f96c00d975
No known key found for this signature in database
GPG Key ID: F8B6E3245A18068C

View File

@ -58,7 +58,7 @@ fi
find "${apps_dirs[@]}" -name '*.desktop' -print0 2>/dev/null | \
xargs -0 awk '
BEGINFILE {if (ERRNO) nextfile; entry="" }
BEGINFILE { if (ERRNO) nextfile; entry="" }
/^\[/ { if (tolower($0) != "\[desktop entry\]") nextfile }
/^Exec=/ { entry = entry FILENAME ":Exec=qubes-desktop-run " FILENAME "\n"; next }
/^NoDisplay *= *true$/ { entry=""; nextfile }