1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-26 05:35:30 +00:00
config/install-mime.sh

13 lines
429 B
Bash
Raw Normal View History

2019-05-30 22:07:51 +00:00
#!/usr/bin/env bash
2019-05-30 22:21:19 +00:00
set -x
2019-05-30 22:07:51 +00:00
sed -i '/x-scheme-handler\/magnet/d' $HOME/.config/mimeapps.list
sed -i '/x-scheme-handler\/magnet/d' $HOME/.local/share/applications/mimeapps.list
2019-05-30 22:21:19 +00:00
sed -i '/application\/x-bittorrent/d' $HOME/.config/mimeapps.list
sed -i '/application\/x-bittorrent/d' $HOME/.local/share/applications/mimeapps.list
2019-05-30 22:07:51 +00:00
cat $(pwd)/local/share/applications/mimeapps.list >> $HOME/.local/share/applications/mimeapps.list