aboutsummaryrefslogtreecommitdiff
path: root/mail.sh
blob: 77983545ea5d5e7b5062b83838e5704eeb2ea419 (plain)
1
2
3
4
5
6
7
8
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