diff --git a/i3/sleep.sh b/i3/sleep.sh new file mode 100755 index 0000000..cc4e346 --- /dev/null +++ b/i3/sleep.sh @@ -0,0 +1,2 @@ +i3lock -i ~/.i3/wall.png +sudo pm-suspend diff --git a/scripts/sync.sh b/scripts/sync.sh index 32ca0e9..d1369a8 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -59,18 +59,23 @@ while getopts ":hbsdtclw" VALUE "$@"; do if [ "$VALUE" = "c" ] ; then echo "Syncing config files" if which trash >/dev/null; then - trash ~/.gitconfig ~/.vimrc ~/.vimperatorrc ~/.bashrc ~/.pylintrc ~/.zshrc ~/.i3/config + trash ~/.gitconfig ~/.vimrc ~/.vimperatorrc ~/.vimperator/colors/vimPgray.vimp ~/.vimperator/info/sync/quickmarks ~/.bashrc ~/.pylintrc ~/.zshrc ~/.i3/config ~/.i3/sleep.sh else - rm ~/.gitconfig ~/.vimrc ~/.vimperatorrc ~/.bashrc ~/.pylintrc ~/.zshrc ~/.i3/config + rm ~/.gitconfig ~/.vimrc ~/.vimperatorrc ~/.vimperator/colors/vimPgray.vimp ~/.vimperator/info/sync/quickmarks ~/.bashrc ~/.pylintrc ~/.zshrc ~/.i3/config ~/.i3/sleep.sh fi ln -s ${PWD}/../python/pylintrc ~/.pylintrc ln -s ${PWD}/../vim/vimrc ~/.vimrc ln -s ${PWD}/../vimperator/vimperatorrc ~/.vimperatorrc + mkdir -p ~/.vimperator/colors + ln -s ${PWD}/../vimperator/vimPgray.vimp ~/.vimperator/colors/vimPgray.vimp + mkdir -p ~/.vimperator/info/sync/quickmarks + ln -s ${PWD}/../vimperator/quickmarks ~/.vimperator/info/sync/quickmarks ln -s ${PWD}/../git/gitconfig ~/.gitconfig ln -s ${PWD}/../shells/bashrc ~/.bashrc ln -s ${PWD}/../shells/zshrc ~/.zshrc mkdir -p ~/.i3 ln -s ${PWD}/../i3/i3config ~/.i3/config + ln -s ${PWD}/../i3/sleep.sh ~/.i3/sleep.sh fi if [ "$VALUE" = "l" ] ; then echo "Linking standard directories..."