set sendmail="msmtp -C /home/mart/.mutt/msmtp"
macro index,pager $ "<shell-escape>offlineimap -c ~/.mutt/offlineimaprc &<enter>" "Force refresh"
+macro index <F8> \
+ "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
+ <shell-escape>notmuch-mutt -r --prompt search<enter>\
+ <change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>\
+ <enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
+ "notmuch: search mail"
+
macro index,pager \cb "| urlview\n"
set mbox_type=Maildir
volume(){
mixer=$(amixer | head -5 | tail -1)
- echo $mixer | grep "\[on\]" && mute="(M)"
+ echo $mixer | grep "\[on\]" || mute="(M)"
volume=$(echo $mixer | grep -Po "(?<=\[)[0-9]{1,3}%")
echo -n "vol: $volume$mute"
}
+++ /dev/null
-XDG_DESKTOP_DIR="$HOME/downloads"
-XDG_DOCUMENTS_DIR="$HOME/downloads"
-XDG_DOWNLOAD_DIR="$HOME/downloads"
-XDG_MUSIC_DIR="$HOME/music"
-XDG_PICTURES_DIR="$HOME/downloads"
-XDG_VIDEOS_DIR="$HOME/downloads"