diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/mailto_handler | 4 |
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 | ||
3 | set -e # we can now exit out from rofi, easily | ||
4 | |||
3 | # rofi available mail accounts | 5 | # rofi available mail accounts |
4 | 6 | ||
5 | ACCOUNTSDIR=$HOME/.config/mutt/accounts | 7 | ACCOUNTSDIR=$HOME/.config/mutt/accounts |
@@ -21,4 +23,4 @@ done | |||
21 | 23 | ||
22 | picked=$(printf "${choices}" | rofi -dmenu) | 24 | picked=$(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" -- "$@" | 26 | exec kitty -e neomutt -F "$HOME/.config/mutt/muttrc" -e "source /home/yigit/.config/mutt/accounts/${picked}.muttrc" -- "$@" |