#!/bin/sh -e
+cmds="$(dirname "$(realpath -- "$0")")"
cat <<EOF
set mail_check_stats
set mail_check_stats_interval=5
set date_format="%Y-%m-%d %H:%M"
folder-hook . "set index_format = \"%4C %Z [%D] %s (%?l?%4l&%c?)\""
+bind pager o noop
+macro pager o "|$cmds/x-urlview.sh\n"
+
macro index <F8> "<shell-escape>mu find --muhome mu --clearlinks --format=links --linksdir=search " "mu find"
macro index <F9> "<change-folder-readonly>search<enter>" "mu find results"
folder-hook search "set index_format = \"%4C [%D] %s (%F)\""
continue
}
read title < $f/title
- [ -n "$title" ] && label="-label \"$title\"" || label=""
+ [ -n "$title" ] && label="-label \"$title\"" || :
echo mailboxes $label $f
done