Browse Source

install system and script

main
Marcel Kapfer 5 years ago
parent
commit
44f89359ec
  1. 7
      dirs.list
  2. 19
      install.fish
  3. 19
      links.list

7
dirs.list

@ -0,0 +1,7 @@
.config/khal
.config/khard
.vdirsyncer
.emacs.d
.config/nvim
.config/redshift
.config/fish

19
install.fish

@ -0,0 +1,19 @@
#!/usr/bin/fish
# Script for linking the dotfiles
echo "Creating necessary directories"
for dir in (cat dirs.list)
echo "Creating directory:" ~/$dir
mkdir -p ~/$dir
end
echo "Linking the dotfiles"
for link in (cat links.list)
set link (string split " " $link)
echo "creating symlink from" ~/dotfiles/$link[1] "to" ~/$link[2]
ln -s ~/dotfiles/$link[1] ~/$link[2]
end
echo "done"

19
links.list

@ -0,0 +1,19 @@
dotdotfiles/git/gitconfig .gitconfig
dotdotfiles/khal/config .config/khal/config
dotdotfiles/khard/khard.conf .config/khard/khard.conf
dotdotfiles/offlineimap/offlineimap.py .offlineimap.py
dotdotfiles/offlineimap/offlineimaprc .offlineimaprc
dotdotfiles/vdirsyncer/config .vdirsyncer/config
dotdotfiles/vdirsyncer/password.gpg .vdirsyncer/password.gpg
emacs/emacs.el .emacs.d/init.el
neovim/init.vim .config/nvim/init.vim
redshift/redshift .config/redshift/redshift.conf
screen/screenrc .screenrc
shells/bashrc .bashrc
shells/zshrc .zshrc
shells/fish/config.fish .config/fish/
shells/fish/functions .config/fish/
stumpwm/stumpwmrc .stumpwmrc
x/xinitrc .xinitrc
x/Xmodmap .Xmodmap
x/Xresources .Xresources
Loading…
Cancel
Save