diff options
-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 |