aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/spectrwm/files/startscrotwm
blob: 34721b34da5b2bad8db3cbf8272bb461cd006d85 (plain) (blame)
1
2
3
4
5
6
7
8
9
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