From a6ad66572e9cc985d3123286b132605ba279b919 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 24 Sep 2026 05:16:08 +0530 Subject: feat(communication/neomutt): neomutt-sync daemon runs once after closing --- modules/communication/neomutt/neomutt-launcher.sh | 7 +------ 1 file changed, 1 insertion(+), 6 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 62cbe09..c13677f 100644 --- a/modules/communication/neomutt/neomutt-launcher.sh +++ b/modules/communication/neomutt/neomutt-launcher.sh @@ -1,12 +1,7 @@ #!/usr/bin/env bash -# Wrapped neomutt: keeps the neomutt-sync systemd daemon alive for the -# lifetime of a neomutt session. +# Starts the neomutt-sync daemon before starting neomutt set -uo pipefail systemctl --user start neomutt-sync.service || true -stop_service() { - pgrep -x neomutt >/dev/null || systemctl --user stop neomutt-sync.service || true -} -trap stop_service EXIT "@@NEOMUTT_BIN@@" "$@" -- cgit v1.2.3