1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-29 06:53:13 +00:00
config/install-mime.sh
2019-05-31 00:21:19 +02:00

13 lines
429 B
Bash
Executable File

#!/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