From 5f0ccda5923632d186e6404781e1cdafef1af803 Mon Sep 17 00:00:00 2001 From: Paul Wako Date: Sun, 16 Feb 2020 18:02:49 -0500 Subject: [PATCH] conditionally start offlineimap on login --- zprofile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zprofile b/zprofile index f09ea07..35c6f1e 100644 --- a/zprofile +++ b/zprofile @@ -1 +1,3 @@ xbindkeys &> /dev/null + +systemctl --user is-active --quiet offlineimap || (pass dumb &> /dev/null && systemctl --user start offlineimap)