From: Mart Lubbers Date: Tue, 9 Dec 2014 10:07:18 +0000 (+0100) Subject: update bar, uptade mutt with nomuch X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=159915cd7d8d22af8f27c7bc735079c4347877b2;p=dotfiles.git update bar, uptade mutt with nomuch --- diff --git a/.mutt/muttrc b/.mutt/muttrc index 6a2d903..8871d6d 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -5,6 +5,13 @@ set envelope_from=yes set sendmail="msmtp -C /home/mart/.mutt/msmtp" macro index,pager $ "offlineimap -c ~/.mutt/offlineimaprc &" "Force refresh" +macro index \ + "set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ + notmuch-mutt -r --prompt search\ + `echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ + set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ + "notmuch: search mail" + macro index,pager \cb "| urlview\n" set mbox_type=Maildir diff --git a/i3/bar b/i3/bar index 615a111..5ae1bac 100755 --- a/i3/bar +++ b/i3/bar @@ -13,7 +13,7 @@ battery(){ 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" } diff --git a/user-dirs.dirs b/user-dirs.dirs deleted file mode 100644 index 9056b79..0000000 --- a/user-dirs.dirs +++ /dev/null @@ -1,6 +0,0 @@ -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"