2017-12-21 00:25:55 +01:00
|
|
|
#!/bin/bash
|
2018-01-06 16:38:52 +01:00
|
|
|
|
|
|
|
notify-send "Copying files..."
|
|
|
|
|
2017-12-21 00:25:55 +01:00
|
|
|
# A script to manage my dotfiles and copy them to my git
|
2017-12-24 23:42:36 +01:00
|
|
|
dotfiles=$HOME/workspace/Git/TuDatTr/dotfiles
|
2017-12-21 00:25:55 +01:00
|
|
|
|
2017-12-21 02:30:19 +01:00
|
|
|
# -avv for debugging purposes
|
2018-01-04 14:54:30 +01:00
|
|
|
# -a for normal use
|
2017-12-21 00:25:55 +01:00
|
|
|
copy(){
|
2017-12-21 02:30:19 +01:00
|
|
|
# rsync -avv $HOME/$1 $dotfiles/$1
|
|
|
|
rsync -a $HOME/$1 $dotfiles/$1
|
2017-12-21 00:25:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# i3 gaps
|
|
|
|
# Powerline fonts must be installed
|
|
|
|
printf "\nCopying i3 configs...\n"
|
|
|
|
copy .config/i3/
|
|
|
|
|
|
|
|
# Termite
|
|
|
|
printf "\nCopying Termite configs...\n"
|
|
|
|
copy .config/termite/
|
|
|
|
|
|
|
|
# Git
|
|
|
|
printf "\nCopying Git configs...\n"
|
|
|
|
copy .gitignore
|
|
|
|
copy .gitconfig
|
|
|
|
|
|
|
|
# Scripts
|
|
|
|
printf "\nCopying Scripts...\n"
|
|
|
|
copy .scripts/
|
|
|
|
|
|
|
|
# zsh
|
|
|
|
printf "\nCopying zsh configs...\n"
|
|
|
|
copy .zshrc
|
2018-01-06 16:38:52 +01:00
|
|
|
copy .warprc
|
2017-12-21 00:25:55 +01:00
|
|
|
|
|
|
|
# Emacs
|
|
|
|
# printf "For Emacs (with elpy) following python modules are needed: jedi rope importmagic autopep8 yapf flake8"
|
|
|
|
# printf "You must also add '~/.local/bin' to your path."
|
|
|
|
printf "\nCopying emacs configs...\n"
|
|
|
|
copy .emacs
|
2018-01-04 16:56:03 +01:00
|
|
|
copy .emacs.d/snippets/
|
2017-12-21 00:25:55 +01:00
|
|
|
|
2018-01-04 14:54:30 +01:00
|
|
|
# Latex templates
|
|
|
|
copy Templates/
|