diff options
Diffstat (limited to 'spqpwg')
-rwxr-xr-x | spqpwg | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/sh + +COUNT="$(pgrep -U "$(whoami)" -f qpwgraph | wc -l)" +echo "$COUNT" + +if [ "${COUNT:-0}" -eq "0" ]; then + exec qpwgraph +fi |