From 9523f5ea00c85583fa9372557d6d003d2ca4b3c4 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 24 Sep 2026 04:59:50 +0530 Subject: fix: icons for desktop items are working --- modules/communication/neomutt/neomutt-launcher.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'modules/communication/neomutt/neomutt-launcher.sh') diff --git a/modules/communication/neomutt/neomutt-launcher.sh b/modules/communication/neomutt/neomutt-launcher.sh index d677680..3caa9df 100644 --- a/modules/communication/neomutt/neomutt-launcher.sh +++ b/modules/communication/neomutt/neomutt-launcher.sh @@ -2,15 +2,12 @@ # Wrapped neomutt: keeps the neomutt-sync systemd daemon alive for the # lifetime of a neomutt session. set -uo pipefail -SYSTEMCTL='@@SYSTEMCTL@@' -PGREP='@@PGREP@@' -NEOMUTT='@@NEOMUTT@@' -"$SYSTEMCTL" --user start neomutt-sync.service || true +systemctl --user start neomutt-sync.service || true stop_service() { - "$PGREP" -x neomutt >/dev/null || "$SYSTEMCTL" --user stop neomutt-sync.service || true + pgrep -x neomutt >/dev/null || systemctl --user stop neomutt-sync.service || true } trap stop_service EXIT -export PATH="@@PROFILE_BIN@@:@@URLSCAN_BIN@@:$PATH" -"$NEOMUTT" "$@" +export PATH="@@PROFILE_BIN@@:$PATH" +neomutt "$@" -- cgit v1.2.3