diff options
Diffstat (limited to 'scripts/dotfiles.sh')
-rwxr-xr-x | scripts/dotfiles.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/dotfiles.sh b/scripts/dotfiles.sh new file mode 100755 index 0000000..1a0675a --- /dev/null +++ b/scripts/dotfiles.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +TIMESTAMP=$(date +"%T on %D") + +rsync -av --delete ~/.config/nvim/ ~/.config/dotfiles/nvim +rsync -av --delete ~/.config/mpd/ ~/.config/dotfiles/mpd +rsync -av --delete ~/.config/dunst/ ~/.config/dotfiles/dunst +rsync -av --delete ~/.config/zathura/ ~/.config/dotfiles/zathura +cp -r ~/.config/X11/Xresources ~/.config/dotfiles/Xresources + +cd ~/.config/dotfiles && git add . +git commit -m "automated commit at ($TIMESTAMP)" +git push myserver master |