format: statusbar

date display
mailbox display
battery icon
This commit is contained in:
David JULIEN 2021-03-02 20:27:15 +01:00
parent a2a86bf24e
commit 6de603081f
3 changed files with 3 additions and 5 deletions

View File

@ -3,11 +3,9 @@
# More information : https://github.com/LukeSmithxyz/mutt-wizard
# This file contains part of mutt-wizard's default settings.
# mutt-wizard will have this file sourced from your muttrc.
set mailcap_path = /home/swytch/.config/mutt/mailcap:$mailcap_path
set mime_type_query_command = "file --mime-type -b %s"
set date_format="%y/%m/%d %I:%M%p"
set date_format="%d/%m/%y %I:%M%p"
set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)"
set sort = 'reverse-date'
set smtp_authenticators = 'gssapi:login'

View File

@ -42,7 +42,7 @@ do
status=""
else
case "$capacity" in
[8-9][0-9]) status="" ;;
100|[8-9][0-9]) status="" ;;
[6-7][0-9]) status="" ;;
[4-5][0-9]) status="" ;;
[2-3][0-9]) status="" ;;

View File

@ -17,7 +17,7 @@ do
if [ $new -gt 0 ]; then
[ -n "$(echo "$acc" | sed -n '/@etu/p')" ] && box=""
[ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box=""
unread="$unread/$box:$new"
unread="$unread/$box$new"
fi
done
[ -n "$unread" ] && unread="($(echo "$unread" | cut -c 2-))" || exit