#!/bin/zsh if [[ ! -e ${0:a:h}/server ]] then <<-ERROR Service requires configuration! Create \`${0:a:h}/server\` containing the target server name ERROR exit 1 fi source ${0:a:h:h}/import-env.zsh import-env awesome || exit 1 exec barrierc --no-daemon $(<${0:a:h}/server)