diff options
Diffstat (limited to 'xmonad/single-startup.sh')
| -rwxr-xr-x | xmonad/single-startup.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xmonad/single-startup.sh b/xmonad/single-startup.sh new file mode 100755 index 0000000..19053ca --- /dev/null +++ b/xmonad/single-startup.sh @@ -0,0 +1,12 @@ +#!/bin/bash +if pgrep -x $1 +then + echo "process $1 already running! bailing out..." +else + #. /home/miguel/.bashrc + export NNTPSERVER="nntp.aioe.org" # we need this for slrn (can not source from .bashrc?) + #echo server = $NNTPSERVER + echo "start process $1 ..." + eval $1 +fi + |
