diff options
author | foswret <foswret@posteo.com> | 2025-07-05 14:50:16 -0500 |
---|---|---|
committer | foswret <foswret@posteo.com> | 2025-07-05 14:50:16 -0500 |
commit | 36987fddf6bb3d138cfad9812f5edfc63dfd8525 (patch) | |
tree | 031ae11ce215a95b35282420dab9f34f5d42f94f | |
parent | fd14f1484c006e328ace3b6458ab3505d7f536b1 (diff) |
added the dotfiles deployment script
-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 |