You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314
  1. #! /usr/bin/env bash
  2. dir="$(dirname $(readlink -f "${0}"))"
  3. if [ -e ~/.i3 ]
  4. then
  5. if [ -h ~/.i3 ]
  6. then
  7. rm ~/.i3
  8. else
  9. mv ~/.i3 ~/.i3.old
  10. fi
  11. fi &&
  12. ln -s "${dir}/i3" ~/.i3