Add support for paste.ee to readwwwlog
This commit is contained in:
parent
b252ce4ec5
commit
f75cb91d0d
@ -36,6 +36,9 @@ for url in ${urls}; do
|
||||
url="https://bpa.st/download-archive/${id}"
|
||||
elif [[ ${url} =~ 'paste\.debian\.net' && ! ${url} =~ '/plain/' ]]; then
|
||||
url="https://paste.debian.net/plain/${id}"
|
||||
elif [[ ${url} =~ 'paste\.ee' && ! ${url} =~ '/r/' ]]; then
|
||||
# NOTE: will only show 1st paste
|
||||
url="https://paste.ee/r/${id}"
|
||||
fi
|
||||
|
||||
if [[ ${TERMINAL} =~ "alacritty|xfce4-terminal" ]]; then
|
||||
|
@ -34,6 +34,7 @@ local -A assignments=(
|
||||
'^https?://sprunge\.us/' "readwwwlog"
|
||||
'^https?://paste\.debian\.net/' "readwwwlog"
|
||||
'^https?://paste\.centos\.org/' "readwwwlog"
|
||||
'^https?://paste\.ee/' "readwwwlog"
|
||||
'\.(webm|png|jpe?g|gif|svg|bmp|xcf)(\?.+)?$' "openwwwimg"
|
||||
'(^magnet:|\.torrent$)' "transmission-remote-gtk"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user