1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-25 13:16:01 +00:00

Added mime instalation

This commit is contained in:
pgrondek 2019-05-31 00:07:51 +02:00
parent bb14cf2561
commit 8af83afe5b
3 changed files with 8 additions and 6 deletions

7
install-mime.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
sed -i '/x-scheme-handler\/magnet/d' $HOME/.config/mimeapps.list
sed -i '/x-scheme-handler\/magnet/d' $HOME/.local/share/applications/mimeapps.list
cat $(pwd)/local/share/applications/mimeapps.list >> $HOME/.local/share/applications/mimeapps.list

View File

@ -21,13 +21,9 @@ ln -s $(pwd)/bashrc $HOME/.bashrc
ln -s $(pwd)/bash_aliases $HOME/.bash_aliases ln -s $(pwd)/bash_aliases $HOME/.bash_aliases
ln -s $(pwd)/ideavimrc $HOME/.ideavimrc ln -s $(pwd)/ideavimrc $HOME/.ideavimrc
ln -s $(pwd)/i3-config $HOME/.config/i3/config ln -s $(pwd)/i3-config $HOME/.config/i3/config
ln -s $(pwd)/i3status.conf $HOME/.i3status.conf
ln -s $(pwd)/i3blocks $HOME/.config/i3blocks ln -s $(pwd)/i3blocks $HOME/.config/i3blocks
ln -s $(pwd)/dunstrc $HOME/.config/dunst/dunstrc ln -s $(pwd)/dunstrc $HOME/.config/dunst/dunstrc
ln -s $(pwd)/bin/lock $HOME/bin/lock ln -s $(pwd)/bin/lock $HOME/bin/lock
ln -s $(pwd)/bin/transmission-add $HOME/bin/transmission-add ln -s $(pwd)/bin/transmission-add $HOME/bin/transmission-add
ln -s $(pwd)/local/share/applications/torrent.desktop $HOME/.local/share/applications/torrent.desktop ln -s $(pwd)/local/share/applications/torrent.desktop $HOME/.local/share/applications/torrent.desktop
# Gnome
# dconf load /org/gnome/desktop/ < gnome/desktop.txt

View File

@ -1,2 +1 @@
[Default Applications] x-scheme-handler/magnet=torrent.desktop
x-scheme-handler/magnet=torrent.desktop;