[MIME] Added handler for torrent files
This commit is contained in:
parent
8af83afe5b
commit
764826dd63
@ -1,7 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
|
||||
sed -i '/x-scheme-handler\/magnet/d' $HOME/.config/mimeapps.list
|
||||
sed -i '/x-scheme-handler\/magnet/d' $HOME/.local/share/applications/mimeapps.list
|
||||
|
||||
sed -i '/application\/x-bittorrent/d' $HOME/.config/mimeapps.list
|
||||
sed -i '/application\/x-bittorrent/d' $HOME/.local/share/applications/mimeapps.list
|
||||
|
||||
cat $(pwd)/local/share/applications/mimeapps.list >> $HOME/.local/share/applications/mimeapps.list
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
x-scheme-handler/magnet=torrent.desktop
|
||||
application/x-bittorrent=torrent.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user