auth on
tls on
tls_certcheck off
-passwordeval gpg -qdb --use-agent ~/pw/mail.asc | grep -A4 "^mart@martlubbers.net" | grep -Po "(?<=pass: ).*"
+user mart@martlubbers.net
+passwordeval gpg -qd --use-agent ~/pw/mail.asc | grep -A4 "^mart@martlubbers.net" | grep -Po "(?<=pass: ).*"
from mart@martlubbers.net
set use_from="yes
set envelope_from=yes
-set sendmail="msmtp -C /home/mart/.mutt/msmtp"
+set sendmail="msmtp -C /home/mart/.mutt/msmtprc"
macro index,pager $ "<shell-escape>offlineimap -c ~/.mutt/offlineimaprc &<enter>" "Force refresh"
macro index <F8> \
battery(){
path=/sys/class/power_supply
- now=$(($(cat "$path/BAT0/charge_now")*100/$(cat "$path/BAT0/charge_full")))%
+ now=$(($(cat "$path/BAT0/charge_now")*100/$(cat "$path/BAT0/charge_full")))
[ "$(cat "$path/ADP1/online")" -eq "1" ] && charge="(C)"
- [ "$now" = "100%" ] && now="FULL"
- echo -n "$now$charge"
+ [ "$now" -ge "100" ] && now="FULL"
+ echo -n "$now%$charge"
}
volume(){