diff --git a/scripts/sync.sh b/scripts/sync.sh index 9ccab91..328561b 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -78,16 +78,16 @@ while getopts ":hbsdpcw" VALUE "$@"; do ln -s $ABSPATH/shells/liquidpromptrc ~/.config/liquidpromptrc if [ "$(uname)" != "Darwin" ]; then if which trash >/dev/null; then - trash ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/i3status.conf ~/.i3/screensaver.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources + trash ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/screensaver.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources else - rm ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/i3status.conf ~/.i3/screensaver.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources + rm ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/screensaver.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources fi # Don't install these on Mac mkdir -p ~/.i3 ln -s $ABSPATH/i3/config ~/.i3/config ln -s $ABSPATH/i3/sleep.sh ~/.i3/sleep.sh ln -s $ABSPATH/i3/wall.sh ~/.i3/wall.sh - ln -s $ABSPATH/i3/i3status.conf ~/.i3/i3status.conf + ln -s $ABSPATH/i3/i3status.conf ~/.i3/i3status.conf 2>/dev/null ln -s $ABSPATH/i3/screensaver.sh ~/.i3/screensaver.sh ln -s $ABSPATH/i3/Xmodmap ~/.Xmodmap ln -s $ABSPATH/i3/xsession ~/.xsession