X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=install;h=bc5393595a11d258b8525cb29dcb8ef99ab9f93b;hb=86bf5b1fd1a1f173d6edf89dfc7fe7cc9c6a9fe8;hp=3198c1d5b02dedd691d42b42f2c61b37935f115a;hpb=bd14b9393ad27ac16aaa010a6561a5894a1fcfbd;p=dotfiles.git diff --git a/install b/install old mode 100644 new mode 100755 index 3198c1d..bc53935 --- a/install +++ b/install @@ -1,2 +1,17 @@ #!/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`/mpd.conf /etc/mpd.conf || 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