summaryrefslogtreecommitdiffhomepage
path: root/bin/toggle-app.sh
blob: a2105ad0f722fdb4930acaf7506e31a5360bc1b0 (plain)
1
2
3
#!/bin/bash

(pidof $1 && killall $1) || ($1 &)