diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-24 04:59:50 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-24 04:59:50 +0530 |
| commit | 9523f5ea00c85583fa9372557d6d003d2ca4b3c4 (patch) | |
| tree | 71b15c2143349762dc0167f977e8b2ed231904a3 /modules/communication/neomutt/neomutt-launcher.sh | |
| parent | 9254d170236eeb9d9e113915c89ec4cab34a5f98 (diff) | |
| download | home-manager-config-9523f5ea00c85583fa9372557d6d003d2ca4b3c4.tar.gz home-manager-config-9523f5ea00c85583fa9372557d6d003d2ca4b3c4.zip | |
fix: icons for desktop items are working
Diffstat (limited to 'modules/communication/neomutt/neomutt-launcher.sh')
| -rw-r--r-- | modules/communication/neomutt/neomutt-launcher.sh | 11 |
1 files changed, 4 insertions, 7 deletions
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 "$@" |
