Blob Blame Raw
#!/bin/bash

set -e

ROOT="$(cd `dirname "$0"`; pwd)"
cd "$ROOT"

( killall coolkbd.dock   && ( nohup ./coolkbd.bottom & ) ) || \
( killall coolkbd.bottom && ( nohup ./coolkbd.top    & ) ) || \
  killall coolkbd.top    || ( nohup ./coolkbd.dock   & )