X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=install;h=29727498284fdf9e8fcd02768090031f65a5e7d9;hb=46ceb3f058de4733444f96ea1803504e65a7f460;hp=3198c1d5b02dedd691d42b42f2c61b37935f115a;hpb=bd14b9393ad27ac16aaa010a6561a5894a1fcfbd;p=dotfiles.git diff --git a/install b/install old mode 100644 new mode 100755 index 3198c1d..2972749 --- a/install +++ b/install @@ -1,2 +1,18 @@ #!/bin/bash -ln -is `pwd`/.vimrc ~/.vimrc + +cp -if `pwd`/.vimrc ~/.vimrc || true +cp -if `pwd`/.bashrc ~/.bashrc || true +cp -if `pwd`/muttrc ~/.mutt/muttrc || true +cp -if `pwd`/msmtp ~/.mutt/msmtp || true +cp -if `pwd`/offlineimaprc ~/.mutt/offlineimaprc || true +sudo cp -if `pwd`/sudo/mpd.conf /etc/mpd.conf || true +sudo cp -if `pwd`/sudo/settings.json /etc/transmission-daemon/settings.json || true + +if [ "$1" = "-x" ] +then + echo 'Also copying X files for non headless' + mkdir -p ~/.i3 + cp -if `pwd`/i3/* ~/.i3/ || true + cp -if `pwd`/.xinitrc ~/.xinitrc || true + cp -if `pwd`/.Xresources ~/.Xresources || true +fi