summaryrefslogtreecommitdiffstats
path: root/.local/bin/mailto_handler
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/mailto_handler')
-rwxr-xr-x.local/bin/mailto_handler4
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/mailto_handler b/.local/bin/mailto_handler
index b85d0e4..9493558 100755
--- a/.local/bin/mailto_handler
+++ b/.local/bin/mailto_handler
@@ -1,5 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2 2
3set -e # we can now exit out from rofi, easily
4
3# rofi available mail accounts 5# rofi available mail accounts
4 6
5ACCOUNTSDIR=$HOME/.config/mutt/accounts 7ACCOUNTSDIR=$HOME/.config/mutt/accounts
@@ -21,4 +23,4 @@ done
21 23
22picked=$(printf "${choices}" | rofi -dmenu) 24picked=$(printf "${choices}" | rofi -dmenu)
23 25
24 exec kitty -e neomutt -F "$HOME/.config/mutt/muttrc" -e "source /home/yigit/.config/mutt/accounts/${picked}.muttrc" -- "$@" 26exec kitty -e neomutt -F "$HOME/.config/mutt/muttrc" -e "source /home/yigit/.config/mutt/accounts/${picked}.muttrc" -- "$@"