summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-20 18:01:14 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-20 18:01:14 -0400
commit6254a5d23acc96ef70d3a4427b435ed45d7975a2 (patch)
tree962f81a7b3ba8e4429b4c901c13f4862e57d07ca /.local/bin
parent61bfa92c0a1eff64fe83585ef4c9ead8e575b838 (diff)
sync neomutt after closing it
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/dwmbar/dwmb-mail4
1 files changed, 2 insertions, 2 deletions
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