From 86d08f80c0f9a8159139e29c070a87e55469fbc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Tue, 14 Sep 2021 21:31:11 +0300
Subject: neomutt keybinds

S is to move to spam is s to sync.
---
 dotfiles/.config/mutt/muttrc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'dotfiles/.config/mutt/muttrc')

diff --git a/dotfiles/.config/mutt/muttrc b/dotfiles/.config/mutt/muttrc
index 207f7c4..61fa2e6 100644
--- a/dotfiles/.config/mutt/muttrc
+++ b/dotfiles/.config/mutt/muttrc
@@ -55,7 +55,7 @@ bind pager,browser gg top-page
 bind pager,browser G bottom-page
 bind index,pager,browser \CD half-down
 bind index,pager,browser \CU half-up
-bind index,pager S sync-mailbox
+bind index,pager s sync-mailbox
 bind index,pager R group-reply
 bind index \031 previous-undeleted	# Mouse wheel
 bind index \005 next-undeleted		# Mouse wheel
@@ -75,6 +75,7 @@ macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode
 macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read 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"
 #macro index A "<limit>all\n" "show all messages (undo limit)"
 macro index,pager A ";<save-message>=Archive<enter>" "archive mail"
+macro index,pager S ";<save-message>=Spam<enter>" "send mail to spam"
 
 # Sidebar mappings
 set sidebar_visible = yes
-- 
cgit v1.2.3


From 376d68b0443a60a237e9e35462781a2ff504c7ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Thu, 16 Sep 2021 12:27:11 +0300
Subject: Config cleaning

* Removed unused stuff.
* Script for updating hosts file with latest unwanted domains.
* Other slight changes.
---
 dotfiles/.config/mutt/muttrc | 1 +
 1 file changed, 1 insertion(+)

(limited to 'dotfiles/.config/mutt/muttrc')

diff --git a/dotfiles/.config/mutt/muttrc b/dotfiles/.config/mutt/muttrc
index 61fa2e6..016dc68 100644
--- a/dotfiles/.config/mutt/muttrc
+++ b/dotfiles/.config/mutt/muttrc
@@ -20,6 +20,7 @@ set forward_quote				# include message in forwards
 set reverse_name				# reply as whomever it was to
 set include						# include message in replies
 set mail_check=60 				# to avoid lags using IMAP with some email providers (yahoo for example)
+unignore x-spam-status
 auto_view text/html				# automatically show html (mailcap uses lynx)
 auto_view application/pgp-encrypted
 #set display_filter = "tac | sed '/\\\[-- Autoview/,+1d' | tac" # Suppress autoview messages.
-- 
cgit v1.2.3


From 03b2f9b30700848862f4920f76cd6113bdf8c3c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Sun, 26 Sep 2021 13:22:57 +0300
Subject: Minor changes

* Update bemenu's moronic monitor variable once more
* Neomutt shutdown hook to update waybar.
---
 dotfiles/.config/mutt/muttrc | 1 +
 1 file changed, 1 insertion(+)

(limited to 'dotfiles/.config/mutt/muttrc')

diff --git a/dotfiles/.config/mutt/muttrc b/dotfiles/.config/mutt/muttrc
index 016dc68..b7c6935 100644
--- a/dotfiles/.config/mutt/muttrc
+++ b/dotfiles/.config/mutt/muttrc
@@ -20,6 +20,7 @@ set forward_quote				# include message in forwards
 set reverse_name				# reply as whomever it was to
 set include						# include message in replies
 set mail_check=60 				# to avoid lags using IMAP with some email providers (yahoo for example)
+shutdown-hook 'echo `killall -43 waybar`'
 unignore x-spam-status
 auto_view text/html				# automatically show html (mailcap uses lynx)
 auto_view application/pgp-encrypted
-- 
cgit v1.2.3