dotfiles/awesome/autorun.sh

12 lines
109 B
Bash
Raw Normal View History

2022-07-19 15:24:06 +02:00
#!/bin/sh
run() {
if ! pgrep -f "$1" ;
then
"$@"&
fi
}
# Usage:
# run "program [some arguments]"