dotfiles

Settings and scripts
git clone git://git.konyahin.xyz/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit 1ad8df254ed3dff272ccfdc267c1d007b5e0d430
parent b60e7eb27362cb17ad2b05ad47acf5cd535add4a
Author: Anton Konyahin <me@konyahin.xyz>
Date:   Thu, 27 Jun 2024 20:00:23 +0300

newsboat: rethink mail a little

Diffstat:
M.gitignore | 1+
Misync/.config/dot-mbsyncrc | 4++--
Mmutt/.config/mutt/muttrc | 28+---------------------------
Mnewsboat/dot-newsboat/config | 12------------
Mnewsboat/dot-newsboat/urls | 3+--
Mscripts/dot-bin/bookmark | 6+++---
6 files changed, 8 insertions(+), 46 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,2 +1,3 @@ newsboat/dot-newsboat/cache.db newsboat/dot-newsboat/history.cmdline +newsboat/dot-newsboat/history.search diff --git a/isync/.config/dot-mbsyncrc b/isync/.config/dot-mbsyncrc @@ -13,8 +13,8 @@ IMAPStore epik-remote Account epik MaildirStore epik-local -Path ~/data/mail/fastmail/ -Inbox ~/data/mail/fastmail/INBOX +Path ~/data/mail/ +Inbox ~/data/mail/INBOX Subfolders Verbatim Channel epik diff --git a/mutt/.config/mutt/muttrc b/mutt/.config/mutt/muttrc @@ -20,7 +20,6 @@ set header_cache = ~/data/mail/cache set sort = threads # hide plus sign if line in mail too long set markers = no -set mark_old = no # don't go to next message automatically set pager_stop @@ -28,24 +27,9 @@ set pager_stop set date_format = "%d/%m" set index_format = "[%Z] %D %-15.15F %s" -# sidebar settings -set sidebar_visible = yes -set sidebar_width = 16 -color sidebar_new color221 color233 -set status_chars = " *%A" -set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───" - -bind index,pager <Esc><Tab> next-unread-mailbox - -bind index,pager <down> sidebar-next -bind index,pager <up> sidebar-prev -bind index,pager <right> sidebar-open - # Ctrl + l for view all url from mail macro pager \cl |urlview\n macro index d "<enter><exit>s+Trash\n" -macro index C "<enter><exit>s+Checks\n" -macro index G "!mbsync -c ~/.config/.mbsyncrc -a\n" "Receive new mails" bind attach <return> view-mailcap # disable confirmation @@ -57,7 +41,7 @@ set quit unset mark_old # Settings for my mailbox -set folder = ~/data/mail/fastmail +set folder = ~/data/mail/ set ssl_starttls = yes set ssl_force_tls = yes @@ -72,17 +56,7 @@ set trash = "+Trash" set postponed = "+Drafts" mailboxes =INBOX \ - =tech-obsd \ - =ports-obsd \ - =misc-obsd \ - =announce-obsd \ - =dev-suckless \ - =hackers-suckless \ - =gnu \ - =github \ - =lists \ =Sent \ - =Checks \ =Drafts \ =spam \ =Trash diff --git a/newsboat/dot-newsboat/config b/newsboat/dot-newsboat/config @@ -10,18 +10,6 @@ bind-key TAB next-unread bind-key x delete-article bind-key q hard-quit -color listnormal blue default -color listfocus black yellow standout bold -color listnormal_unread cyan default -color listfocus_unread yellow default bold -color info red black bold -color article white default bold - -highlight all "---.*---" yellow -highlight article "(^Лента:.*|^Заголовок:.*|^Автор:.*|^Ссылка:.*|^Дата:.*)" cyan default bold -highlight article "https?://[^ ]+" green default -highlight article "\\[[0-9][0-9]*\\]" magenta default bold - browser "bookmark add" macro v set browser "nohup mpv %u > /dev/null &"; open-in-browser; set browser "browser" diff --git a/newsboat/dot-newsboat/urls b/newsboat/dot-newsboat/urls @@ -18,7 +18,6 @@ https://www.cambus.net/atom.xml https://dataswamp.org/~solene/rss.xml https://computer.rip/rss.xml https://konyahin.xyz/index.xml -https://www.idontplaydarts.com/feed/ https://zserge.com/rss.xml https://mizik.eu/feed.xml https://j3s.sh/feed.atom @@ -35,6 +34,7 @@ https://tratt.net/laurie/blog/blog.rss https://foojay.io/feed/ https://ismailefe.org/feed.xml https://feeds.libsyn.com/499093/rss +https://amodernist.com/all.atom https://news.ycombinator.com/rss https://www.linux.org.ru/section-rss.jsp?section=2&group=4066 @@ -45,7 +45,6 @@ https://old.reddit.com/r/coding.rss "~/r/coding" https://old.reddit.com/r/openbsd.rss "~/r/openbsd" https://old.reddit.com/r/C_Programming.rss "~/r/c" https://old.reddit.com/r/lisp.rss "~/r/lisp" -https://old.reddit.com/r/emacs.rss "~/r/emacs" https://videos.lukesmith.xyz/feeds/videos.xml?accountId=3 diff --git a/scripts/dot-bin/bookmark b/scripts/dot-bin/bookmark @@ -20,7 +20,7 @@ Usage: bookmark ls view bookmarks list in your \$PAGER bookmark cat - print all you bookamrks to terminal + print all you bookmarks to terminal bookmark count show number of your bookmarks bookmark get @@ -34,8 +34,8 @@ then exit fi -BOOKMARKS=~/data/bookmarks/bookmarks -TEMP=~/data/bookmarks/bookmarks.temp +BOOKMARKS=~/data/bookmarks +TEMP=~/data/bookmarks.temp if [ "ls" = "$1" ] then