aboutsummaryrefslogtreecommitdiff
path: root/mail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mail.sh')
-rwxr-xr-xmail.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/mail.sh b/mail.sh
new file mode 100755
index 0000000..7798354
--- /dev/null
+++ b/mail.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Opens a mailbox using neomutt (and isync if neomutt configured to do so)
+
+pkill -SIGRTMIN+15 i3blocks
+account="$(printf "gmail\nuniovi" | fzf)"
+[ "$account" = "gmail" ] && neomutt -F "$HOME/.config/mutt/gmmuttrc"
+[ "$account" = "uniovi" ] && neomutt -F "$HOME/.config/mutt/cumuttrc"
+pkill -SIGRTMIN+15 i3blocks