From 7ba05dd7253e704a7915ec4f3944c21d65452a71 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Fri, 15 May 2020 11:22:52 +0200 Subject: [PATCH] Edit mimeapps.list Add 'linkhandler' script --- .config/mimeapps.list | 2 ++ .local/share/applications/linkhandler.desktop | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 .local/share/applications/linkhandler.desktop diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 5ed6c0d..d5e6f56 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -15,3 +15,5 @@ image/gif=img.desktop; application/rss+xml=rss.desktop video/x-matroska=video.desktop inode/directory=file.desktop +x-scheme-handler/http=linkhandler.desktop +x-scheme-handler/https=linkhandler.desktop diff --git a/.local/share/applications/linkhandler.desktop b/.local/share/applications/linkhandler.desktop new file mode 100644 index 0000000..9b4f29b --- /dev/null +++ b/.local/share/applications/linkhandler.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Torrent +Exec=/home/samedamci/.local/bin/scripts/linkhandler %U