#! /usr/bin/env bash dir="$(dirname $(readlink -f "${0}"))" if [ -d ~/.i3 ] then mv ~/.i3 ~/.i3.old fi && ln -sf "${dir}/i3" ~/.i3