diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2012-03-17 16:51:13 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2012-03-17 16:51:13 +0000 |
commit | 9279889f5abe27f5c34e116569445c51cea626ab (patch) | |
tree | b43598b98e31d6c26183343aac1a3b40d94df4f1 /x11-wm | |
parent | bf13f1da1557870c3a06320ee4439481dc94effb (diff) | |
download | ports-9279889f5abe27f5c34e116569445c51cea626ab.tar.gz ports-9279889f5abe27f5c34e116569445c51cea626ab.zip |
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/spectrwm/files/startscrotwm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/files/startscrotwm b/x11-wm/spectrwm/files/startscrotwm index e69de29bb2d1..34721b34da5b 100644 --- a/x11-wm/spectrwm/files/startscrotwm +++ b/x11-wm/spectrwm/files/startscrotwm @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -z "${DISPLAY}" ] +then + echo "$0: Starting X server" + exec xinit $( which scrotwm ) +else + echo "$0: X server already running on display ${DISPLAY}" + $( which scrotwm ) +fi |