e44388cce675b3bf64a34f2ad61b7a4fd4910c53
[dotfiles.git] / install
1 #!/bin/bash
2
3 cp -if `pwd`/.vimrc ~/.vimrc || true
4 cp -if `pwd`/.bashrc ~/.bashrc || true
5 cp -if `pwd`/muttrc ~/.mutt/muttrc || true
6 cp -if `pwd`/msmtp ~/.mutt/msmtp || true
7 cp -if `pwd`/offlineimaprc ~/.mutt/offlineimaprc || true
8 cp -if `pwd`/gpg-agent.conf ~/.gnupg/gpg-agent.conf || true
9 sudo cp -if `pwd`/sudo/mpd.conf /etc/mpd.conf || true
10 sudo cp -if `pwd`/sudo/settings.json /etc/transmission-daemon/settings.json || true
11 sudo cp -if `pwd`/gpg-agent.sh /etc/profile.d/gpg-agent.sh || true
12
13 if [ "$1" = "-x" ]
14 then
15 echo 'Also copying X files for non headless'
16 mkdir -p ~/.i3
17 cp -if `pwd`/i3/* ~/.i3/ || true
18 cp -if `pwd`/.xinitrc ~/.xinitrc || true
19 cp -if `pwd`/.Xresources ~/.Xresources || true
20 fi