summaryrefslogtreecommitdiffstats
path: root/.bin/nmutt
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-08 12:40:19 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-08 12:40:19 +0200
commitce6be946d024aa55a15d576388d05f90be671cf2 (patch)
treefa1053446a3fb06daee8438c1ff664cb36c0abcb /.bin/nmutt
parent703ed1915c69911a95cab6e1fb6524629c976800 (diff)
downloaddots-ce6be946d024aa55a15d576388d05f90be671cf2.tar.gz
Sat Oct 8 12:40:19 PM CEST 2022
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.