add starbound sync scripts, work on other stuff

This commit is contained in:
Daniel Flanagan 2016-07-31 20:59:35 -05:00
parent 99515b1f6d
commit 7db458b4f2
4 changed files with 18 additions and 1 deletions

2
env/wm/bspwmrc vendored
View file

@ -2,7 +2,7 @@
source "$DOTFILES_PATH/variables.bash" source "$DOTFILES_PATH/variables.bash"
source "$DOTFILES_PATH/wm/bspwm_config" source "$DOTFILES_PATH/env/wm/bspwm_config"
source "$DOTFILES_PATH/scripts/get_color.sh" source "$DOTFILES_PATH/scripts/get_color.sh"
source "$DOTFILES_PATH/scripts/get_x_fonts.sh" source "$DOTFILES_PATH/scripts/get_x_fonts.sh"

View file

@ -34,6 +34,7 @@ pacaur -S \
urxvt-perls-git \ urxvt-perls-git \
mutt procmail msmtp \ mutt procmail msmtp \
ncmpcpp mpd \ ncmpcpp mpd \
rsync \
--noconfirm --noedit --noconfirm --noedit
# sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome # sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome

View file

@ -0,0 +1,9 @@
#!/usr/bin/env sh
LOCAL_STORAGE_DIR="$HOME/.local/share/Steam/steamapps/common/Starbound/storage"
REMOTE_STORAGE_HOST_DIR="lytedev.io:~/games/sync/starbound"
mkdir -p "$LOCAL_STORAGE_DIR"
rsync -tr "$REMOTE_STORAGE_HOST_DIR" "$LOCAL_STORAGE_DIR/player"
rsync -tr "$REMOTE_STORAGE_HOST_DIR" "$LOCAL_STORAGE_DIR/universe"

View file

@ -0,0 +1,7 @@
#!/usr/bin/env sh
LOCAL_STORAGE_DIR="$HOME/.local/share/Steam/steamapps/common/Starbound/storage"
REMOTE_STORAGE_HOST_DIR="lytedev.io:~/games/sync/starbound"
rsync -tr "$LOCAL_STORAGE_DIR/player" "$REMOTE_STORAGE_HOST_DIR"
rsync -tr "$LOCAL_STORAGE_DIR/universe" "$REMOTE_STORAGE_HOST_DIR"