From 6254a5d23acc96ef70d3a4427b435ed45d7975a2 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 20 Oct 2020 18:01:14 -0400 Subject: sync neomutt after closing it --- .local/bin/dwmbar/dwmb-mail | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/dwmbar/dwmb-mail b/.local/bin/dwmbar/dwmb-mail index 4bce6bd..bd8d56b 100755 --- a/.local/bin/dwmbar/dwmb-mail +++ b/.local/bin/dwmbar/dwmb-mail @@ -4,8 +4,8 @@ # When clicked, brings up `neomutt`. case $BLOCK_BUTTON in - 1) setsid -f "$TERMINAL" -e neomutt ;; - 2) setsid -f mw sync >/dev/null ;; + 1) setsid -f "$TERMINAL" -e neomutt && mw -Y;; + 2) setsid -f mw -Y ;; 3) notify-send " Mail module" "\- Shows unread mail - Shows  if syncing mail - Left click opens neomutt -- cgit v1.2.3