Add support for paste.debian.net to readwwwlog
This commit is contained in:
parent
80933c33f5
commit
a2f2c4c6bc
@ -28,6 +28,9 @@ for url in ${urls}; do
|
||||
elif [[ ${url} =~ 'bpa\.st' && ! ${url} =~ '/download-archive/' ]]; then
|
||||
local id=${url##*/}
|
||||
url="https://bpa.st/download-archive/${id}"
|
||||
elif [[ ${url} =~ 'paste\.debian\.net' && ! ${url} =~ '/plain/' ]]; then
|
||||
local id=${url##*/}
|
||||
url="https://paste.debian.net/plain/${id}"
|
||||
fi
|
||||
|
||||
if [[ ${TERMINAL} =~ "alacritty|xfce4-terminal" ]]; then
|
||||
|
@ -31,6 +31,7 @@ local -A assignments=(
|
||||
'^https?://(www\.)?(dpaste|pastebin|irccloud)\.com/' "readwwwlog"
|
||||
'^https?://bpa\.st/' "readwwwlog"
|
||||
'^https?://sprunge\.us/' "readwwwlog"
|
||||
'^https?://paste\.debian\.net/' "readwwwlog"
|
||||
'\.(webm|png|jpe?g|gif|svg|bmp|xcf)(\?.+)?$' "openwwwimg"
|
||||
'(^magnet:|\.torrent$)' "transmission-remote-gtk"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user