summaryrefslogtreecommitdiffstats
path: root/.bin/nmutt
diff options
context:
space:
mode:
Diffstat (limited to '.bin/nmutt')
-rwxr-xr-x.bin/nmutt8
1 files changed, 5 insertions, 3 deletions
diff --git a/.bin/nmutt b/.bin/nmutt
index 0ee2822..a45d33f 100755
--- a/.bin/nmutt
+++ b/.bin/nmutt
@@ -1,6 +1,6 @@
#!/bin/sh
-NMUTT_CONFIGURATION_FILE="${HOME}/.config/neomutt/personal"
+NMUTT_CONFIGURATION_FILE="${HOME}/.config/neomutt/credentials-personal"
get_param() {
grep "${2}" "${1}" |
@@ -15,5 +15,7 @@ export MAIL_SERVER=$(get_param "${NMUTT_CONFIGURATION_FILE}" "my_server")
export MAIL_USERNAME=$(get_param "${NMUTT_CONFIGURATION_FILE}" "my_user")
export MAIL_PASSWORD=$(get-pass "mailbox")
-#notmuch new
-exec neomutt ${@}
+notmuch new >/dev/null 2>&1 &
+neomutt ${@}
+
+notmuch new >/dev/null 2>&1 &
remember that computers suck.