Fixed i3status in sync.sh

This commit is contained in:
Austen Adler 2015-02-13 00:27:28 -05:00
parent 80c419e92c
commit 463d019f4d

View File

@ -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