void-packages/srcpkgs/barrier/files/barriers/run

5 lines
145 B
Bash
Executable File

#!/bin/sh
[ -r ./conf ] && . ./conf
[ -z $SKIP_X11_TEST ] && ! ps -C Xorg >/dev/null 2>&1 && exit 0
exec barriers --no-daemon ${OPTS:=--restart}