aboutsummaryrefslogtreecommitdiff
path: root/scripts/dotfiles.sh
blob: b62e4d4433eccea87a3fc204318fadf41c38f03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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