dotfiles/awesome/autorun.sh

12 lines
109 B
Bash
Executable File

#!/bin/sh
run() {
if ! pgrep -f "$1" ;
then
"$@"&
fi
}
# Usage:
# run "program [some arguments]"