X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=install;h=29727498284fdf9e8fcd02768090031f65a5e7d9;hb=25a333e8dbc9407e9739ba5e0cbe2d61f07cb970;hp=38b78f1f6c11fdc71d515ecf254e19bb6aae3002;hpb=01464bd2fbebd5820ed6890b05df2be29a4f560b;p=dotfiles.git diff --git a/install b/install index 38b78f1..2972749 100755 --- a/install +++ b/install @@ -1,3 +1,18 @@ #!/bin/bash -ln -is `pwd`/.vimrc ~/.vimrc -ln -is `pwd`/.bashrc ~/.bashrc + +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