various tweaks - dotfiles - These are my dotfiles. There are many like it, but these are mine.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 2ed9f6a741a303736c9daee0e1dbaadae9f5707b
 (DIR) parent 24ddb2d0573ec5a5d458afe9468e78ef79f8d505
 (HTM) Author: Jay Scott <me@jay.scot>
       Date:   Mon, 19 Sep 2022 14:33:14 +0100
       
       various tweaks
       
       Diffstat:
         M bin/offline.sh                      |       3 +++
         M bin/yt_dl.sh                        |       2 +-
         M fdm/config                          |      16 ++++++++++------
         M git/config                          |       4 ++++
         M mutt/muttrc                         |      19 +++++++++++++++----
         M sfeed/sfeedrc                       |      10 ++++++++--
       
       6 files changed, 41 insertions(+), 13 deletions(-)
       ---
 (DIR) diff --git a/bin/offline.sh b/bin/offline.sh
       @@ -1,5 +1,8 @@
        #!/bin/sh
        
       +# mail
       +fdm -f ~/.config/fdm/config fetch
       +
        # youtube videos
        yt_dl.sh
        
 (DIR) diff --git a/bin/yt_dl.sh b/bin/yt_dl.sh
       @@ -7,7 +7,7 @@
        # user config
        savepath="/data/media/videos"
        cfgdir="${HOME}/.cache/yt_dl"
       -post="echo 'video downloaded' | mutt -s 'YT: %(channel)s ' -- me@jay.scot"
       +post="echo '%(title)s' | mutt -s 'YT: %(channel)s ' -- me@jay.scot"
        
        # youtube-dl related settings
        yt="yt-dlp"
 (DIR) diff --git a/fdm/config b/fdm/config
       @@ -6,7 +6,8 @@ $imap_pass        = $(pass tech/mailbox.org | head -n1)
        $path                = "%h/.mail"
        $feedcache        = "%h/.mail/fdm.cache"
        $feeddir        = "%h/.mail/feeds/"
       -$strurl                = "(http[s]?://.*)"
       +$listdir        = "%h/.mail/mailinglists/"
       +$strurl                = "(http[s]?://.*|gemini://.*)"
        
        # options
        set unmatched-mail keep
       @@ -25,10 +26,12 @@ account "personal" imaps
        action "inbox"  maildir "${path}/%u/Inbox"
        
        # mailing lists
       -action        "freebsd-announce" maildir "${path}/freebsd.announce"
       -action        "freebsd-current" maildir "${path}/freebsd.current"
       -action        "freebsd-questions" maildir "${path}/freebsd.questions"
       -action        "sourcehut-discuss" maildir "${path}/sr.ht-discuss"
       +action        "freebsd-announce" maildir "${path}/${listdir}/freebsd.announce"
       +action        "freebsd-current" maildir "${path}/${listdir}/freebsd.current"
       +action        "freebsd-questions" maildir "${path}/${listdir}/freebsd.questions"
       +action        "sourcehut-discuss" maildir "${path}/${listdir}/srht.discuss"
       +action        "srht-discuss" maildir "${path}/${listdir}/srht.discuss"
       +action        "srht-dev" maildir "${path}/${listdir}/srht.dev"
        
        # feeds
        action "feedtag" tag "msgid" value "%1"
       @@ -41,7 +44,8 @@ action "feedsave" {
        
        # source hut
        match "^List-Id:.*sr\\.ht-.*\\.lists\\.sr\\.ht" in headers {
       -       match "^List-Id:.*discuss" in headers action "sourcehut-discuss"
       +       match "^List-Id:.*discuss" in headers action "srht-discuss"
       +       match "^List-Id:.*dev" in headers action "srht-dev"
        }
        
        # freebsd
 (DIR) diff --git a/git/config b/git/config
       @@ -8,6 +8,10 @@
                rebase = false
        [sendemail]
                annotate = yes
       +        smtpserver = smtp.mailbox.org
       +        smtpuser = me@jay.scot
       +        smtpencryption = ssl
       +        smtpserverport = 465
        [core]
                editor = vim
        [alias]
 (DIR) diff --git a/mutt/muttrc b/mutt/muttrc
       @@ -51,15 +51,19 @@ set spoolfile        = "+jay/Inbox"
        set postponed   = "+jay/Drafts"
        set record      = "+jay/Sent"
        
       -# polling/sidebar
       -mailboxes =jay/Inbox =jay/detecting =jay/house
       +# inbox
       +mailboxes +jay
       +mailboxes -label "inbox" +jay/Inbox
        
        # feeds
       +mailboxes +feeds
       +mailboxes +feeds/antenna
        mailboxes +feeds/archlinux
        mailboxes +feeds/codemadness
        mailboxes +feeds/drewdevault
        mailboxes +feeds/gamingonlinux
        mailboxes +feeds/linuxtorrents
       +mailboxes +feeds/midnightpub
        mailboxes +feeds/newsboat
        mailboxes +feeds/qutebrowser
        mailboxes +feeds/rdrview
       @@ -70,6 +74,13 @@ mailboxes +feeds/tvtorrents
        mailboxes +feeds/unixsheikh
        mailboxes +feeds/uninformativ
        
       +# mailing lists
       +mailboxes +mailinglists
       +mailboxes -label "srht.discuss" +mailinglists/srht.discuss
       +mailboxes -label "srht.dev" +mailinglists/srht.dev
       +mailboxes -label "freebsd.questions" +mailinglists/freebsd.questions
       +mailboxes -label "freebsd.announce" +mailinglists/freebsd.announce
       +
        set sort_alias = alias
        set reverse_alias = yes
        source $alias_file
       @@ -93,10 +104,10 @@ set index_format        = '%Z | %{%b %d %Y} | %-15.15F | %s'
        # sidebar
        set mail_check_stats         = yes
        set sidebar_visible         = yes
       -set sidebar_width         = 20
       +set sidebar_width         = 25
        set sidebar_short_path         = yes
        set sidebar_folder_indent = yes
       -set sidebar_format = "%B%* [%N]"
       +set sidebar_format = "%B%* %?N?%N?"
        bind index,pager \Ck sidebar-prev
        bind index,pager <tab> sidebar-next
        bind index,pager <backtab> sidebar-prev
 (DIR) diff --git a/sfeed/sfeedrc b/sfeed/sfeedrc
       @@ -12,16 +12,22 @@ fetch() {
        }
        
        feeds() {
       -        # feed <name> <feedurl> [basesiteurl] [encoding]
       +        # general
                feed 'tildenews' 'https://tilde.news/newest.rss'
       -        feed 'tomasino' 'gemini://tilde.team/~tomasino/atom.xml'
                feed 'tvtorrents' 'https://showrss.info/other/all.rss'
                feed 'linuxtorrents' 'http://feed.rutracker.cc/atom/f/1992.atom'
                feed 'gamingonlinux' 'https://www.gamingonlinux.com/article_rss.php'
       +        # apps
                feed 'archlinux' 'https://archlinux.org/feeds/news/'
                feed 'qutebrowser' 'https://blog.qutebrowser.org/feeds/all.atom.xml'
                feed 'newsboat' 'https://newsboat.org/news.atom'
                feed 'rdrview' 'https://github.com/eafer/rdrview/commits/master.atom'
       +        # gemini
       +        feed 'midnightpub' 'gemini://midnight.pub/feed.xml'
       +        feed 'tomasino' 'gemini://tilde.team/~tomasino/atom.xml'
       +        feed 'antenna' 'gemini://warmedal.se/~antenna/atom.xml'
       +        feed 'techrights' 'gemini://gemini.techrights.org/feed.xml'
       +        # people
                feed 'codemadness' 'https://codemadness.org/atom.xml'
                feed 'drewdevault' 'https://drewdevault.com/blog/index.xml'
                feed 'seeshyjo' 'http://joeyh.name/blog/index.rss'