From 533d9d859d8c47832233b5241eb21c79a00502e4 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 26 May 2019 22:41:06 +0200 Subject: added some x stuff --- xmonad/single-startup.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 xmonad/single-startup.sh (limited to 'xmonad/single-startup.sh') 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 + -- cgit v1.2.3