1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Merge branch 'master' of github.com:alrayyes/dotfiles

This commit is contained in:
Ryan Kes 2019-10-04 13:04:51 +02:00
commit 43be4a5022
4 changed files with 11 additions and 3 deletions

4
bin/.local/bin/weather Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
curl wttr.in
read -s -n 1

View File

@ -1,6 +1,6 @@
# vim: filetype=neomuttrc
set certificate_file = ~/.cache/mutt/certificates
set date_format="%y/%m/%d %H:%M"
set date_format="%d-%m-%Y %H:%M"
set index_format="%2C [%Z] %?X?A& ? %D %-15.15F %s (%-4.4c)"
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
@ -56,6 +56,10 @@ bind pager \031 previous-line # Mouse wheel
bind pager \005 next-line # Mouse wheel
bind editor <Tab> complete-query
macro index,pager \cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message"
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
macro index O "<shell-escape>mailsync -Va<enter>" "run offlineimap to sync all mail"
macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern"

View File

@ -19,7 +19,7 @@ Flatten .
Channel ryankes-all
Master :ryankes-remote:
Slave :ryankes-local:
Patterns INBOX* Trash Drafts Sent Archive* Spam
Patterns INBOX* Trash Drafts Sent Archive Archive/quicknet Spam
Group ryankes
Channel ryankes-all

View File

@ -56,4 +56,4 @@ shift + XF86Eject
# Open frequent apps
super + o ; {e,w,m,v,h,s,i,n,r,q}
{emacs, $BROWSER, $TERMINAL -e neomutt, $TERMINAL -e vifm, $TERMINAL -e htop, slack, $TERMINAL -e weechat, $TERMINAL -e newsboat, qtpass}
{emacs, $TERMINAL -e weather, $TERMINAL -e neomutt, $TERMINAL -e vifm, $TERMINAL -e htop, slack, $TERMINAL -e weechat, $TERMINAL -e newsboat, qtpass}