dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit d69958dfa4a1d08012c19a5e4fad1ae5e9fbeba4
parent 2a526775b5e47c3b265613005c4eeb96ea2e013a
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Tue, 27 Oct 2020 11:30:18 +0100

linkhandler: add to readability whitelist

Former-commit-id: 364f0705b0ee68c8679036355784c46b4d286f0a
Diffstat:
Mscripts/linkhandler | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/linkhandler b/scripts/linkhandler @@ -14,13 +14,13 @@ case "$1" in *mp3|*flac|*opus|*mp3?source*) setsid -f mpva "$1" ;; - *news.ycombinator.com*) - w3m -config ~/.config/w3m/config "$1" - ;; *reddit.com*) tuir "$1" ;; - http://*|https://*) + *news.ycombinator.com*|*lean-forward.github.io*) # readability whitelist + w3m -config ~/.config/w3m/config "$1" + ;; + http://*|https://*) # everything else gets filtered through readability python3 -W ignore -m readability.readability -u "$1" | w3m -config ~/.config/w3m/config -T text/html ;; *)