From 025c3ae0fff82565211a64d3a197fc08d4cdd47f Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 20 Apr 2022 17:41:53 +0200 Subject: [PATCH] Add magnet and torrent URLs to urlhandler --- .local/bin/urlhandler | 1 + 1 file changed, 1 insertion(+) diff --git a/.local/bin/urlhandler b/.local/bin/urlhandler index abcda47..1224c48 100755 --- a/.local/bin/urlhandler +++ b/.local/bin/urlhandler @@ -30,6 +30,7 @@ local -A assignments=( '\.(log|txt)$' "readwwwlog" '^https?://(www\.)?(dpaste|pastebin|irccloud)\.com/' "readwwwlog" '\.(webm|png|jpe?g|gif|svg|bmp|xcf)$' "openwwwimg" + '(^magnet:|\.torrent$)' "transmission-remote-gtk" ) local selected_cmd=${default_cmd}