diff --git a/.local/bin/urlhandler b/.local/bin/urlhandler index 62fb890..b23b037 100755 --- a/.local/bin/urlhandler +++ b/.local/bin/urlhandler @@ -30,6 +30,7 @@ local -a assignments=( '^https://yewtu\.be/watch\?v=' "${mpv}" '^https://v.redd.it/' "${mpv}" '^(gemini|gopher)://' "kristall" + '\.(webm|png|jpe?g|gif|svg|bmp|xcf)(\?.+)?$' "openwwwimg" '\.(log|txt)$' "readwwwlog" '^https?://(www\.)?(dpaste|irccloud|termbin)\.com/' "readwwwlog" '^https?://(www\.)?pastebin\.[^/]+/' "readwwwlog" @@ -39,8 +40,7 @@ local -a assignments=( '^https?://paste\.centos\.org/' "readwwwlog" '^https?://paste\.ee/' "readwwwlog" '^https?://ix\.io/' "readwwwlog" - '^https?://0x0.st/.+\.txt$' "readwwwlog" - '\.(webm|png|jpe?g|gif|svg|bmp|xcf)(\?.+)?$' "openwwwimg" + '^https?://0x0.st/' "readwwwlog" '(^magnet:|\.torrent$)' "transmission-remote-gtk" )